pm2301-charger: Check return value of regulator_enable
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 6 Sep 2013 08:01:11 +0000 (13:31 +0530)
committerAnton Vorontsov <anton@enomsg.org>
Fri, 25 Oct 2013 22:36:40 +0000 (15:36 -0700)
commit508b2c13499aa459ff34123ec5641a72ca46777c
tree9be1e5285ba0f704ae39f0b5830bfdc39c04bee3
parent08a5c7e6842f9c4c1556f147af2a561056345a45
pm2301-charger: Check return value of regulator_enable

Check the return value of regulator_enable to silence the following
warning:
drivers/power/pm2301_charger.c:725:20: warning:
ignoring return value of ‘regulator_enable’, declared with
attribute warn_unused_result [-Wunused-result]

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
drivers/power/pm2301_charger.c
This page took 0.025796 seconds and 5 git commands to generate.