Searched refs:button_pdev (Results 1 – 1 of 1) sorted by relevance
30 static struct platform_device *button_pdev; variable76 button_pdev = platform_device_register_simple("power_button", 0, NULL, 0); in cbe_powerbutton_init()77 if (IS_ERR(button_pdev)) { in cbe_powerbutton_init()78 ret = PTR_ERR(button_pdev); in cbe_powerbutton_init()82 dev->dev.parent = &button_pdev->dev; in cbe_powerbutton_init()100 platform_device_unregister(button_pdev); in cbe_powerbutton_init()110 platform_device_unregister(button_pdev); in cbe_powerbutton_exit()