]> git.dujemihanovic.xyz Git - u-boot.git/commit
sunxi: power: Drop protection against multiple calls from axp221 axp_init()
authorHans de Goede <hdegoede@redhat.com>
Sat, 3 Oct 2015 14:13:19 +0000 (16:13 +0200)
committerHans de Goede <hdegoede@redhat.com>
Tue, 20 Oct 2015 16:40:27 +0000 (18:40 +0200)
commit03f8ae37194f5c2269ebb41236580cf37d090be0
tree57c05361ac18b60bf3883667bf710d9639ef88cc
parent30490b528bafb0298f2fb76a3ed15194e220ba1f
sunxi: power: Drop protection against multiple calls from axp221 axp_init()

The only thing axp221.c's axp_init() does which needs protection
against multiple calls is calling pmic_bus_init, and pmic_bus_init()
itself is already protected against being called multiple times.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
drivers/power/axp221.c