commit | b1bc3031e87f98f5f56f4f8fc23609371dbfa3bf | [log] [tgz] |
---|---|---|
author | Sachin Kamat <sachin.kamat@linaro.org> | Sat Jun 07 23:10:25 2014 -0700 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Sat Jun 07 23:20:24 2014 -0700 |
tree | 05cfee4e127538ddf1f892adf5d6278836681ac3 | |
parent | fb4f8f568a9def02240ef9bf7aabd246dc63a081 [diff] |
Input: max8997_haptic - add error handling for regulator and pwm Let's start checking return value of regulator_enable and pwm_enable to avoid errors. Fixes the following warning: drivers/input/misc/max8997_haptic.c:185:19: warning: ignoring return value of ‘regulator_enable’, declared with attribute warn_unused_result [-Wunused-result] Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>