Searched refs:dummy_pdev (Results 1 – 1 of 1) sorted by relevance
67 static struct platform_device *dummy_pdev; variable73 dummy_pdev = platform_device_alloc("reg-dummy", -1); in regulator_dummy_init()74 if (!dummy_pdev) { in regulator_dummy_init()79 ret = platform_device_add(dummy_pdev); in regulator_dummy_init()82 platform_device_put(dummy_pdev); in regulator_dummy_init()89 platform_device_unregister(dummy_pdev); in regulator_dummy_init()