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: NNicolae Rosia <nicolae_rosia@mentor.com> Reviewed-by: NTom Rini <trini@konsulko.com>
Showing
想要评论请 注册 或 登录