lp8788-charger: Use PAGE_SIZE for the sysfs read operation
authorKim, Milo <Milo.Kim@ti.com>
Fri, 15 Mar 2013 00:19:29 +0000 (00:19 +0000)
committerAnton Vorontsov <anton@enomsg.org>
Mon, 1 Apr 2013 06:33:19 +0000 (23:33 -0700)
commit4b44a1ed82b4c2462d86fede459a802668b19d45
tree60d966e6764df6ad3a450dd610756eb01b8ad043
parentfeeb3a92b1f4e4b53bbad2b1c0d0eb1bcdd6d5a7
lp8788-charger: Use PAGE_SIZE for the sysfs read operation

The 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>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
drivers/power/lp8788-charger.c