diff options
| author | Sachin Kamat <[email protected]> | 2014-06-08 06:10:25 +0000 |
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2014-06-08 06:20:24 +0000 |
| commit | b1bc3031e87f98f5f56f4f8fc23609371dbfa3bf (patch) | |
| tree | 05cfee4e127538ddf1f892adf5d6278836681ac3 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | Input: elantech - don't set bit 1 of reg_10 when the no_hw_res quirk is set (diff) | |
| download | kernel-b1bc3031e87f98f5f56f4f8fc23609371dbfa3bf.tar.gz kernel-b1bc3031e87f98f5f56f4f8fc23609371dbfa3bf.zip | |
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 <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
