Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/input/touchscreen/
A Dwm97xx-core.c671 platform_device_unregister(wm->battery_dev); in wm97xx_remove_battery()
679 wm->battery_dev = platform_device_alloc("wm97xx-battery", -1); in wm97xx_add_battery()
680 if (!wm->battery_dev) in wm97xx_add_battery()
683 platform_set_drvdata(wm->battery_dev, wm); in wm97xx_add_battery()
684 wm->battery_dev->dev.parent = wm->dev; in wm97xx_add_battery()
685 wm->battery_dev->dev.platform_data = pdata; in wm97xx_add_battery()
686 ret = platform_device_add(wm->battery_dev); in wm97xx_add_battery()
688 platform_device_put(wm->battery_dev); in wm97xx_add_battery()
/linux-6.3-rc2/include/linux/
A Dwm97xx.h272 struct platform_device *battery_dev; member

Completed in 6 milliseconds