aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/wm97xx-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/touchscreen/wm97xx-core.c')
-rw-r--r--drivers/input/touchscreen/wm97xx-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/wm97xx-core.c b/drivers/input/touchscreen/wm97xx-core.c
index 7e45c9f6e6b7..d0ef91fc87d1 100644
--- a/drivers/input/touchscreen/wm97xx-core.c
+++ b/drivers/input/touchscreen/wm97xx-core.c
@@ -584,7 +584,7 @@ static void wm97xx_ts_input_close(struct input_dev *idev)
584static int wm97xx_probe(struct device *dev) 584static int wm97xx_probe(struct device *dev)
585{ 585{
586 struct wm97xx *wm; 586 struct wm97xx *wm;
587 struct wm97xx_pdata *pdata = dev->platform_data; 587 struct wm97xx_pdata *pdata = dev_get_platdata(dev);
588 int ret = 0, id = 0; 588 int ret = 0, id = 0;
589 589
590 wm = kzalloc(sizeof(struct wm97xx), GFP_KERNEL); 590 wm = kzalloc(sizeof(struct wm97xx), GFP_KERNEL);