aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJonathan Cameron <[email protected]>2021-05-09 12:33:28 +0100
committerJonathan Cameron <[email protected]>2021-05-17 13:54:25 +0100
commita2fa3debc12e4a401a4c6febc1804036a62f1e31 (patch)
treee5e149a155923429cdf81e5507f3236a35626feb /tools/perf/scripts/python
parent41120ebbb1eb5e9dec93320e259d5b2c93226073 (diff)
iio: light: isl29028: Balance runtime pm + use pm_runtime_resume_and_get()
In remove this driver called pm_runtime_put_noidle() but there is no matching get operation. This does not cause any problems because the reference counter will not change if already zero, but it does make the code harder to reason about so should be dropped. Whilst we are here, use pm_runtime_resume_and_get() to replace open coded version. Found using coccicheck script under review at: https://lore.kernel.org/lkml/[email protected]/ Signed-off-by: Jonathan Cameron <[email protected]> Cc: Sebastian Reichel <[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