rx51_battery: Replace hardcoded channels values.
authorMarek Belisko <marek.belisko@open-nandra.com>
Wed, 21 Aug 2013 22:45:10 +0000 (00:45 +0200)
committerAnton Vorontsov <anton@enomsg.org>
Wed, 28 Aug 2013 01:26:44 +0000 (18:26 -0700)
commit8e2747f031bd322d0fc25e0338ef50d4c18843d4
treed31b4af7637f4af5ba2776f9a386a4cceb382b3a
parentd7bf353fd0aa3e12060ce64c8a7b4aaf4336145c
rx51_battery: Replace hardcoded channels values.

In twl4030_madc header exist defines for fixed channels + add rx51
specific channels and replace all hardcoded channels values.

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
drivers/power/rx51_battery.c