diff options
author | Bruno Prémont <bonbons@linux-vserver.org> | 2010-02-26 13:04:54 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-03-16 20:10:17 +0000 |
commit | fa11de0a33e214a00e205494c27fb5a7bb71a5fa (patch) | |
tree | bed4af34b31f9e782159f3c2c17fe13817df52a9 /drivers/hid | |
parent | f0af78991363d704694a3618b638662c97d8a110 (diff) |
backlight: blackfin - Fix missing registration failure handling
Check newly registered backlight_device for error and properly
return error to parent
Mark struct backlight_ops as const.
Signed-off-by: Bruno Prémont <bonbons@linux-vserver.org>
Acked-by: Mike Frysinger <vapier@gentoo.org> (constify struct backlight_ops)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'drivers/hid')
0 files changed, 0 insertions, 0 deletions