diff options
Diffstat (limited to 'drivers/hwmon')
-rw-r--r-- | drivers/hwmon/jz4740-hwmon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/jz4740-hwmon.c b/drivers/hwmon/jz4740-hwmon.c index 1c8b3d9e2051..40f106d95afe 100644 --- a/drivers/hwmon/jz4740-hwmon.c +++ b/drivers/hwmon/jz4740-hwmon.c | |||
@@ -112,7 +112,7 @@ static int __devinit jz4740_hwmon_probe(struct platform_device *pdev) | |||
112 | return -ENOMEM; | 112 | return -ENOMEM; |
113 | } | 113 | } |
114 | 114 | ||
115 | hwmon->cell = pdev->dev.platform_data; | 115 | hwmon->cell = mfd_get_cell(pdev); |
116 | 116 | ||
117 | hwmon->irq = platform_get_irq(pdev, 0); | 117 | hwmon->irq = platform_get_irq(pdev, 0); |
118 | if (hwmon->irq < 0) { | 118 | if (hwmon->irq < 0) { |