Skip to content
Commit 877947bc authored by Liu Yuan's avatar Liu Yuan Committed by Linus Torvalds
Browse files

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: default avatarLiu Yuan <tailai.ly@taobao.com>
Acked-by: default avatarMichael Hennerich <michael.hennerich@analog.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent f06590bd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment