Searched refs:button_pdev (Results 1 – 1 of 1) sorted by relevance
17 static struct platform_device *button_pdev; variable63 button_pdev = platform_device_register_simple("power_button", 0, NULL, 0); in cbe_powerbutton_init()64 if (IS_ERR(button_pdev)) { in cbe_powerbutton_init()65 ret = PTR_ERR(button_pdev); in cbe_powerbutton_init()69 dev->dev.parent = &button_pdev->dev; in cbe_powerbutton_init()87 platform_device_unregister(button_pdev); in cbe_powerbutton_init()97 platform_device_unregister(button_pdev); in cbe_powerbutton_exit()