Skip to content
Commit 697be361 authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Anton Vorontsov
Browse files

twl4030-charger: Fix compiler warning with regulator_enable()



The return value of regulator_enable need to be checked. This patch fixes
the following warning:
drivers/power/twl4030_charger.c: In function ‘twl4030_charger_enable_usb’:
drivers/power/twl4030_charger.c:192:20: warning: ignoring return value of ‘regulator_enable’, declared with attribute warn_unused_result [-Wunused-result]

Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: default avatarAnton Vorontsov <anton@enomsg.org>
parent 8e2747f0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment