]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/video/backlight/ld9040.c: small fixes
authorAxel Lin <axel.lin@gmail.com>
Tue, 26 Jul 2011 00:11:58 +0000 (17:11 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Jul 2011 03:57:07 +0000 (20:57 -0700)
commit9575f20f6c8e7be3c22585e2e1dc2b5d689672b5
tree1d8a4231b5020778a14784d707c0033bace26235
parentacf0b8879dad6e90a99fbab390edfda41a9d4bbd
drivers/video/backlight/ld9040.c: small fixes

- Fix checking of wrong return value for backlight_device_register()

- Properly free allocated resources in ld9040_probe() error path and
  ld9040_remove().

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Donghwa Lee <dh09.lee@samsung.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/backlight/ld9040.c