diff options
author | kbuild test robot <fengguang.wu@intel.com> | 2015-01-21 05:11:34 +0100 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2015-01-21 14:02:30 +0100 |
commit | 5b40b3e6f1326b159f77509aa4b58e9f4c713ac0 (patch) | |
tree | 580032497576f6f951b5378f7fcd374b41ad88ef /drivers/md/persistent-data | |
parent | power/reset: vexpress: Remove non-DT code (diff) | |
download | linux-5b40b3e6f1326b159f77509aa4b58e9f4c713ac0.tar.xz linux-5b40b3e6f1326b159f77509aa4b58e9f4c713ac0.zip |
power: max77693: fix simple_return.cocci warnings
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 <k.kozlowski@samsung.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/md/persistent-data')
0 files changed, 0 insertions, 0 deletions