Re: [PATCH 3/4] pm2301-charger: Check return value of regulator_enable

2013-09-04 Thread Lee Jones
On Mon, 02 Sep 2013, Sachin Kamat wrote: > 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] Same thing

Re: [PATCH 3/4] pm2301-charger: Check return value of regulator_enable

2013-09-04 Thread Lee Jones
On Mon, 02 Sep 2013, Sachin Kamat wrote: 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] Same thing here.

[PATCH 3/4] pm2301-charger: Check return value of regulator_enable

2013-09-02 Thread Sachin Kamat
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 Cc: Lee Jones ---

[PATCH 3/4] pm2301-charger: Check return value of regulator_enable

2013-09-02 Thread Sachin Kamat
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.ka...@linaro.org Cc: Lee Jones