Files
u-boot-tk1-som/drivers/power
Chen-Yu Tsai aa23f539c8 power: axp221: Remove switch case to simplify axp_set_eldo
The ELDO enable bits and registers are contiguous for axp221. Instead
of a switch case testing against the index, just use the index to shift
the bit or register offset.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2016-05-25 17:52:39 +02:00
..
2016-03-31 17:03:58 +02:00
2015-08-12 20:47:35 -04:00
2016-03-15 15:12:56 -04:00