Home
last modified time | relevance | path

Searched refs:battery_dev (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/drivers/input/touchscreen/
Dwm97xx-core.c667 wm->battery_dev = platform_device_alloc("wm97xx-battery", -1); in wm97xx_probe()
668 if (!wm->battery_dev) { in wm97xx_probe()
672 platform_set_drvdata(wm->battery_dev, wm); in wm97xx_probe()
673 wm->battery_dev->dev.parent = dev; in wm97xx_probe()
674 wm->battery_dev->dev.platform_data = pdata; in wm97xx_probe()
675 ret = platform_device_add(wm->battery_dev); in wm97xx_probe()
698 platform_device_del(wm->battery_dev); in wm97xx_probe()
700 platform_device_put(wm->battery_dev); in wm97xx_probe()
716 platform_device_unregister(wm->battery_dev); in wm97xx_remove()
/linux-2.6.39/include/linux/
Dwm97xx.h277 struct platform_device *battery_dev; member