]> 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>
Wed, 20 Mar 2013 04:23:00 +0000 (15:23 +1100)
commit501c65d67cbd4e516484a20218069bc407db7024
tree8a792e0d48c0353d76fc22b13fb6c995c902ed7d
parent224351bdd869bf620a9b2fb844bc6c2f18d471fb
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