Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dwm97xx-core.c705 platform_device_unregister(wm->battery_dev); in wm97xx_remove_battery()
713 wm->battery_dev = platform_device_alloc("wm97xx-battery", -1); in wm97xx_add_battery()
714 if (!wm->battery_dev) in wm97xx_add_battery()
717 platform_set_drvdata(wm->battery_dev, wm); in wm97xx_add_battery()
718 wm->battery_dev->dev.parent = wm->dev; in wm97xx_add_battery()
719 wm->battery_dev->dev.platform_data = pdata; in wm97xx_add_battery()
720 ret = platform_device_add(wm->battery_dev); in wm97xx_add_battery()
722 platform_device_put(wm->battery_dev); in wm97xx_add_battery()
/kernel/linux/linux-5.10/include/linux/
Dwm97xx.h275 struct platform_device *battery_dev; member