allwinner: a64: power: Remove duplicate DT check
should_enable_regulator() is already checked in the regulators subnode
loop before setup_regulator() is called, so there's no need to check it
again here.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Change-Id: Idb8b8a6e435246f4fb226bc84813449d80a0a977
1 parent 18fbfef commit 3bea03e7b4680c9c856256c18ce963af6c895822
@Samuel Holland Samuel Holland authored on 20 Oct 2019
Showing 1 changed file
View
plat/allwinner/sun50i_a64/sunxi_power.c