]> git.karo-electronics.de Git - linux-beck.git/commit
ab8500-charger: Check return value of regulator_enable
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 6 Sep 2013 08:01:09 +0000 (13:31 +0530)
committerAnton Vorontsov <anton@enomsg.org>
Fri, 25 Oct 2013 22:36:05 +0000 (15:36 -0700)
commit6de7ef3e309acb1e55ae122b85a2665064832b0c
tree6429d3075d031c1070efe4587fc40949954250f8
parentf07c11ea32eebf81b7c1e59da2d119bf023882f2
ab8500-charger: Check return value of regulator_enable

Check the return value of regulator_enable to silence the following
type of warnings:
drivers/power/ab8500_charger.c:1390: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/ab8500_charger.c