Re: [PATCH v2] backlight: lp8788: Deletion of a check before backlight_device_unregister()

2015-07-01 Thread Lee Jones
On Sun, 28 Jun 2015, SF Markus Elfring wrote: > > From: Markus Elfring > > > > The backlight_device_unregister() function tests whether its argument is > > NULL > > and then returns immediately. Thus the test around the call is not needed. > > > > This issue was detected by using the Coccinell

Re: [PATCH v2] backlight: lp8788: Deletion of a check before backlight_device_unregister()

2015-06-28 Thread SF Markus Elfring
> From: Markus Elfring > > The backlight_device_unregister() function tests whether its argument is NULL > and then returns immediately. Thus the test around the call is not needed. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring > --- > drivers

[PATCH v2] backlight: lp8788: Deletion of a check before backlight_device_unregister()

2014-11-24 Thread SF Markus Elfring
From: Markus Elfring The backlight_device_unregister() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/video/backlight/lp8