]> git.openfabrics.org - ~emulex/infiniband.git/commit
goldfish_battery: Use resource_size()
authorSilviu-Mihai Popescu <silviupopescu1990@gmail.com>
Sun, 17 Mar 2013 08:01:34 +0000 (10:01 +0200)
committerAnton Vorontsov <anton@enomsg.org>
Mon, 1 Apr 2013 06:39:40 +0000 (23:39 -0700)
commita92d4c7d02d0af85b0edbf1d3c12b9e09bf1846d
treefa059b22408f7baf63ec2303857de79c9552fa64
parent4b44a1ed82b4c2462d86fede459a802668b19d45
goldfish_battery: Use resource_size()

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

Signed-off-by: Silviu-Mihai Popescu <silviupopescu1990@gmail.com>
Signed-off-by: Andrei Epure <epure.andrei@gmail.com>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
drivers/power/goldfish_battery.c