Levente Kurusa 54f5968db9 drivers/video/backlight/lcd.c: call put_device if device_register fails
Currently we kfree the container of the device which failed to register.
This is wrong as the last reference is not given up with a put_device
call.  Also, now that we have put_device() callen, we no longer need the
kfree as the new_ld->dev.release function will take care of kfreeing the
associated memory.

Signed-off-by: Levente Kurusa <levex@linux.com>
Acked-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-01-30 16:56:54 -08:00
..
2013-10-29 12:53:07 +02:00
2014-01-17 10:57:50 +02:00
2013-10-29 12:53:07 +02:00
2013-11-14 14:44:20 +09:00
2013-10-29 12:53:07 +02:00
2013-11-14 14:44:20 +09:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-12-04 10:48:12 +02:00
2013-11-14 14:44:20 +09:00
2013-11-14 14:44:20 +09:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-10-30 13:34:52 +02:00
2013-10-30 13:34:52 +02:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-11-14 14:44:20 +09:00
2013-10-29 12:53:07 +02:00
2013-02-22 23:31:31 -05:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-11-14 14:44:20 +09:00
2013-10-29 12:53:07 +02:00
2013-03-20 16:26:32 +01:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-10-09 12:52:50 +03:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-09-20 12:22:03 +03:00
2013-10-30 13:34:52 +02:00
2013-11-14 14:44:20 +09:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-07-09 15:51:32 -07:00
2013-09-20 12:22:02 +03:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-09-20 12:23:21 +03:00
2013-10-30 13:34:52 +02:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-11-14 14:44:20 +09:00
2013-10-29 12:53:07 +02:00
2013-10-30 13:34:52 +02:00
2013-10-29 12:53:07 +02:00
2013-12-19 15:10:49 +01:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00
2013-10-29 12:53:07 +02:00