goldfish_battery: Use resource_size()
goldfish_battery: Use resource_size()

This uses the resource_size() function instead of explicit computation.

Signed-off-by: Silviu-Mihai Popescu <38d685bd5a9fb1461da4e8b724833da9ca5a2877@gmail.com>
Signed-off-by: Andrei Epure <92730f227cb02daaacf3e2b2bea5beab0631c4d8@gmail.com>
Signed-off-by: Anton Vorontsov <14deb5e5e417133e888bf47bb6a3555c9bb7d81c@enomsg.org>

TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs