Add more blank lines to increase readability. While at it, remove a
trailing blank line at the end of the file.
Signed-off-by: Thierry Reding <treding@nvidia.com>
backlight_device_unregister(bl);
pwm_config(pb->pwm, 0, pb->period);
pwm_disable(pb->pwm);
+
if (pb->exit)
pb->exit(&pdev->dev);
+
return 0;
}
if (pb->notify)
pb->notify(pb->dev, 0);
+
pwm_config(pb->pwm, 0, pb->period);
pwm_disable(pb->pwm);
+
if (pb->notify_after)
pb->notify_after(pb->dev, 0);
+
return 0;
}
struct backlight_device *bl = dev_get_drvdata(dev);
backlight_update_status(bl);
+
return 0;
}
#endif
MODULE_DESCRIPTION("PWM based Backlight Driver");
MODULE_LICENSE("GPL");
MODULE_ALIAS("platform:pwm-backlight");
-