Searched refs:dummy_pdev (Results 1 – 1 of 1) sorted by relevance
69 static struct platform_device *dummy_pdev; variable75 dummy_pdev = platform_device_alloc("reg-dummy", -1); in regulator_dummy_init()76 if (!dummy_pdev) { in regulator_dummy_init()81 ret = platform_device_add(dummy_pdev); in regulator_dummy_init()84 platform_device_put(dummy_pdev); in regulator_dummy_init()91 platform_device_unregister(dummy_pdev); in regulator_dummy_init()