diff options
| author | Jonathan Cameron <[email protected]> | 2021-05-09 12:33:33 +0100 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2021-05-17 13:54:26 +0100 |
| commit | 19611aec50aed607fe161e8a2b8f40df9d97df60 (patch) | |
| tree | eb77b9e4a14c8a69d563b57e85d49ddd95d8c6d0 /tools/perf/scripts/python | |
| parent | 2d980d7efd5fdac70505a5b82cfaef411fa72393 (diff) | |
iio: accel: kxcjk-1013: Balance runtime pm + use pm_runtime_resume_and_get()
This driver alls pm_runtime_put_noidle() in it's remove function, but there
is no matching get call. This isn't a bug as runtime pm will not allow
the reference counter to go negative, but it is missleading so lets remove
it.
Whilst here use pm_runtime_resume_and_get() to tidy up some boilerplate.
The coccicheck script didn't get this one due to the less obvious
structure. Found by inspection.
Signed-off-by: Jonathan Cameron <[email protected]>
Cc: Hans de Goede <[email protected]>
Reviewed-by: Hans de Goede <[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