Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/regulator/
Ddummy.c66 static struct platform_device *dummy_pdev; variable
72 dummy_pdev = platform_device_alloc("reg-dummy", -1); in regulator_dummy_init()
73 if (!dummy_pdev) { in regulator_dummy_init()
78 ret = platform_device_add(dummy_pdev); in regulator_dummy_init()
81 platform_device_put(dummy_pdev); in regulator_dummy_init()
88 platform_device_unregister(dummy_pdev); in regulator_dummy_init()