drivers/video/backlight/lm3630a_bl.c: potential NULL deref in probe()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 12 Nov 2013 23:09:00 +0000 (15:09 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:15 +0000 (12:09 +0900)
commite19493c1f29a3ac48db8797a79532b62a03442b8
tree4d323aa9c38d34911484864a9cc11be18f340580
parent2a0c316bf3ccd910dc58ec62465ff620c664b5e4
drivers/video/backlight/lm3630a_bl.c: potential NULL deref in probe()

We dereference "pdata" later in the function so we can't leave it as NULL.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.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>
drivers/video/backlight/lm3630a_bl.c