]> git.baikalelectronics.ru Git - kernel.git/commit
backlight: use kstrtoul()
authorJingoo Han <jg1.han@samsung.com>
Tue, 10 Jan 2012 23:09:19 +0000 (15:09 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Jan 2012 00:30:48 +0000 (16:30 -0800)
commit507950f70bd48be861427ec62950f214185576e5
treefb027ccb8c61fa987aec251887c91541d310be9d
parent05e1165a20357f9acb083baafaf6ccd9a0f7c432
backlight: use kstrtoul()

The usage of simple_strtoul() or strict_strtoul() is not preferred.  Thus,
kstrtoul should be used.

This patch also fixes checkpatch error as follows:
ERROR: space required after that ',' (ctx:VxV)

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/backlight/backlight.c
drivers/video/backlight/lcd.c