diff options
Diffstat (limited to 'drivers/mfd/ucb1x00-core.c')
-rw-r--r-- | drivers/mfd/ucb1x00-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mfd/ucb1x00-core.c b/drivers/mfd/ucb1x00-core.c index 70f02daeb22a..48ad48c2ef25 100644 --- a/drivers/mfd/ucb1x00-core.c +++ b/drivers/mfd/ucb1x00-core.c | |||
@@ -671,7 +671,7 @@ void ucb1x00_unregister_driver(struct ucb1x00_driver *drv) | |||
671 | 671 | ||
672 | static int ucb1x00_suspend(struct device *dev) | 672 | static int ucb1x00_suspend(struct device *dev) |
673 | { | 673 | { |
674 | struct ucb1x00_plat_data *pdata = dev->platform_data; | 674 | struct ucb1x00_plat_data *pdata = dev_get_platdata(dev); |
675 | struct ucb1x00 *ucb = dev_get_drvdata(dev); | 675 | struct ucb1x00 *ucb = dev_get_drvdata(dev); |
676 | struct ucb1x00_dev *udev; | 676 | struct ucb1x00_dev *udev; |
677 | 677 | ||
@@ -703,7 +703,7 @@ static int ucb1x00_suspend(struct device *dev) | |||
703 | 703 | ||
704 | static int ucb1x00_resume(struct device *dev) | 704 | static int ucb1x00_resume(struct device *dev) |
705 | { | 705 | { |
706 | struct ucb1x00_plat_data *pdata = dev->platform_data; | 706 | struct ucb1x00_plat_data *pdata = dev_get_platdata(dev); |
707 | struct ucb1x00 *ucb = dev_get_drvdata(dev); | 707 | struct ucb1x00 *ucb = dev_get_drvdata(dev); |
708 | struct ucb1x00_dev *udev; | 708 | struct ucb1x00_dev *udev; |
709 | 709 | ||