battery_dev       705 drivers/input/touchscreen/wm97xx-core.c 	platform_device_unregister(wm->battery_dev);
battery_dev       713 drivers/input/touchscreen/wm97xx-core.c 	wm->battery_dev = platform_device_alloc("wm97xx-battery", -1);
battery_dev       714 drivers/input/touchscreen/wm97xx-core.c 	if (!wm->battery_dev)
battery_dev       717 drivers/input/touchscreen/wm97xx-core.c 	platform_set_drvdata(wm->battery_dev, wm);
battery_dev       718 drivers/input/touchscreen/wm97xx-core.c 	wm->battery_dev->dev.parent = wm->dev;
battery_dev       719 drivers/input/touchscreen/wm97xx-core.c 	wm->battery_dev->dev.platform_data = pdata;
battery_dev       720 drivers/input/touchscreen/wm97xx-core.c 	ret = platform_device_add(wm->battery_dev);
battery_dev       722 drivers/input/touchscreen/wm97xx-core.c 		platform_device_put(wm->battery_dev);
battery_dev       275 include/linux/wm97xx.h 	struct platform_device *battery_dev;