drivers/video/backlight/adp5520_bl.c: check strict_strtoul() return value
authorLiu Yuan <tailai.ly@taobao.com>
Wed, 25 May 2011 00:11:12 +0000 (17:11 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 25 May 2011 15:39:01 +0000 (08:39 -0700)
commit877947bc25af5964f282dea112d24934050cc7b1
treea93075a5fe0967e4020857a35a30b727a29c9808
parentf06590bd718ed950c98828e30ef93204028f3210
drivers/video/backlight/adp5520_bl.c: check strict_strtoul() return value

It should check if strict_strtoul() succeeds.

[akpm@linux-foundation.org: don't override strict_strtoul() return value]
Signed-off-by: Liu Yuan <tailai.ly@taobao.com>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/backlight/adp5520_bl.c