]> 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>
Fri, 22 Mar 2013 04:33:24 +0000 (15:33 +1100)
commit773b2949b72240cb245136b28061058401a9626d
treeb7d1ea5dc05cf0e93c298cd9ba38a570d80f6000
parent3d174646e5d5306f59b0a2576778fa7fdccef5b8
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