diff options
| author | Jonathan Cameron <[email protected]> | 2021-05-16 17:20:59 +0100 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2021-06-16 14:53:13 +0100 |
| commit | 17181d4dc33094cb0c51369e4b5172086a14812b (patch) | |
| tree | a6587db9ede65131fbe0c13bfeafb75e0c6467e1 /tools/perf/scripts/python | |
| parent | 40b54cbebf16c4b2275dabe1569d2a3f89d3cc59 (diff) | |
iio: adc: ads1015: Balance runtime pm + pm_runtime_resume_and_get()
The call to pm_runtime_put_noidle() in remove() is not balancing a
counter increment. Note this doesn't matter as the runtime pm core
will not allow the counter to go negative. However, it is confusing
to the reader so let's remove it.
The pm_runtime_resume_and_get() replacement was found using coccicheck
script under review at:
https://lore.kernel.org/lkml/[email protected]/
This is a prequel to taking a closer look at the runtime pm in IIO drivers
in general.
Signed-off-by: Jonathan Cameron <[email protected]>
Reviewed-by: Mauro Carvalho Chehab <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions