static int platform_remove(struct platform_device *dev) { backlight_device_unregister(backlight_device); lp8550_restore(); pr_info("mba6x_bl: Restored old configuration\n"); return 0; }
static int platform_remove(struct platform_device *dev) { cancel_delayed_work_sync(&dev_priv.work); backlight_device_unregister(backlight_device); lp8550_restore(); pr_info("mba6x_bl: Restored old configuration\n"); return 0; }
static void platform_shutdown(struct platform_device *dev) { /* We must restore or screen might go black on reboot */ cancel_delayed_work_sync(&dev_priv.work); lp8550_restore(); }
static void platform_shutdown(struct platform_device *dev) { /* We must restore or screen might go black on reboot */ lp8550_restore(); }