projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'dm-4.3-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/device...
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
hid
/
hid-picolcd_lcd.c
diff --git
a/drivers/hid/hid-picolcd_lcd.c
b/drivers/hid/hid-picolcd_lcd.c
index 89821c2da6d76b766347ae629314d68df3033942..22dcbe13da892cc3ede9f9cdccf280d752035d92 100644
(file)
--- a/
drivers/hid/hid-picolcd_lcd.c
+++ b/
drivers/hid/hid-picolcd_lcd.c
@@
-92,8
+92,7
@@
void picolcd_exit_lcd(struct picolcd_data *data)
struct lcd_device *ldev = data->lcd;
data->lcd = NULL;
- if (ldev)
- lcd_device_unregister(ldev);
+ lcd_device_unregister(ldev);
}
int picolcd_resume_lcd(struct picolcd_data *data)