]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/video/backlight/lp855x_bl.c: use PAGE_SIZE for the sysfs read operation
authorKim, Milo <Milo.Kim@ti.com>
Wed, 20 Mar 2013 04:07:44 +0000 (15:07 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 21 Mar 2013 05:34:03 +0000 (16:34 +1100)
commit131f8bb7633853684d96991683551f25c35c5f9a
treef0a3f1f998a35e3fc1b38e7d3b09238943dd2e93
parent0767dc634d2b83c550d40751ff95cf7a81473c6e
drivers/video/backlight/lp855x_bl.c: use PAGE_SIZE for the sysfs read operation

sysfs allocates PAGE_SIZE.  It is used by each R/W operation method.  Use
it instead of another buffer size.

Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Acked-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/video/backlight/lp855x_bl.c