power: twl6030: fix code refactoring
Commit a85362fb refactored the code but the register read ended up in the wrong if branch. Currently, the else branch checks a variable which is always 0. Signed-off-by:Nicolae Rosia <nicolae_rosia@mentor.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
Loading
Please register or sign in to comment