Tag: 5b40b3e6f1326b159f77509aa4b58e9f4c713ac0

power: max77693: fix simple_return.cocci warnings

Author: kbuild test robot <fengguang.wu@intel.com> drivers/power/max77693_charger.c:615:1-4: WARNING: end returns can be simpified Simplify a trivial if-return sequence. Possibly combine with a preceding function call. Generated by: scripts/coccinelle/misc/simple_return.cocci CC: Krzysztof Kozlowski Signed-off-by: Fengguang Wu Reviewed-by: Krzysztof Kozlowski Signed-off-by: Sebastian Reichel — drivers/power/max77693_charger.c | 6 +—– 1 file changed, 1 insertion(+), 5 deletions(-)   diff –git a/drivers/power/max77693_charger.c …

Continue reading