]> 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>
Tue, 26 Mar 2013 23:25:02 +0000 (10:25 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 2 Apr 2013 07:29:22 +0000 (18:29 +1100)
commitc44ab6c7ad0c080f1f9f2c4d45f4ce40fa98ab43
tree3fd69fef8c06a36d0e24c01dc3b5ea4d8c954902
parentf61041a8d8287b9317b1c0d2f5f6caba9a415d69
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