diff options
| author | Jonathan Cameron <[email protected]> | 2021-05-09 12:33:36 +0100 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2021-05-17 13:54:27 +0100 |
| commit | 934616e8ebe162d93b82aef44d154b6b0d200dc1 (patch) | |
| tree | 09b1c075accdbb934e6185fd880bc0ef3461a368 /tools/perf/scripts/python | |
| parent | 264da512431495e542fcaf56ffe75e7df0e7db74 (diff) | |
iio: light: rpr0521: Balance runtime pm + use pm_runtime_resume_and_get()
Calls to pm_runtime_put_noidle in probe() error path and remove() are
not match to any get() calls.
The runtime pm core protects against negative reference counts, so this
doesn't have any visible impact beyond confusing the reader.
Whilst here use pm_runtime_resume_and_get() to replace boilerplate.
Signed-off-by: Jonathan Cameron <[email protected]>
Cc: Mikko Koivunen <[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