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-11-13 12:09:16 +09:00
2013-11-13 12:09:16 +09:00
2013-11-13 12:09:16 +09:00
2013-11-13 12:09:16 +09:00
2013-11-13 12:09:16 +09:00
2013-11-13 12:09:20 +09:00
2013-01-26 00:37:24 +01:00
2013-11-13 12:09:16 +09:00
2013-11-13 12:09:22 +09:00
2013-10-16 01:16:04 +02:00
2013-11-13 12:09:17 +09:00
2013-11-13 12:09:20 +09:00
2013-11-13 12:09:20 +09:00
2013-11-13 12:09:17 +09:00
2013-11-13 12:09:17 +09:00
2013-11-13 12:09:17 +09:00
2013-11-13 12:09:17 +09:00
2013-11-13 12:09:17 +09:00
2014-01-23 16:36:56 -08:00
2013-11-13 12:09:22 +09:00
2013-11-13 12:09:19 +09:00
2013-11-13 12:09:19 +09:00
2013-04-29 18:28:18 -07:00
2014-01-23 16:36:56 -08:00
2014-01-23 16:36:56 -08:00
2014-01-23 16:36:57 -08:00
2013-11-13 12:09:15 +09:00
2014-01-23 16:36:56 -08:00
2014-01-30 16:56:54 -08:00
2013-11-13 12:09:15 +09:00
2013-11-13 12:09:20 +09:00
2013-11-13 12:09:18 +09:00
2013-11-13 12:09:20 +09:00
2013-11-13 12:09:16 +09:00
2013-11-13 12:09:19 +09:00
2013-11-13 12:09:19 +09:00
2013-04-29 18:28:16 -07:00
2014-01-23 16:36:57 -08:00
2014-01-23 16:36:57 -08:00
2013-11-13 12:09:19 +09:00
2007-10-11 22:24:12 +01:00
2013-11-13 12:09:18 +09:00
2013-11-13 12:09:15 +09:00
2013-11-13 12:09:18 +09:00
2014-01-23 16:36:56 -08:00
2014-01-23 16:36:56 -08:00
2013-11-13 12:09:18 +09:00
2013-11-13 12:09:18 +09:00
2013-11-13 12:09:19 +09:00
2013-12-17 10:18:25 +01:00
2010-05-26 17:34:16 +01:00
2013-11-13 12:09:20 +09:00
2013-11-13 12:09:20 +09:00
2014-01-23 16:36:56 -08:00
2014-01-23 16:36:57 -08:00
2013-11-13 12:09:18 +09:00
2013-04-29 18:28:18 -07:00
2013-11-13 12:09:18 +09:00