summaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-imx1.c
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2021-05-09 12:33:34 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-06-03 18:24:12 +0100
commitaf51ec8c9213ec502c3f5c9f5860dd98fceb3433 (patch)
treec1662cda56b0b4bd8ad3889835df3216a0b30e1c /drivers/pwm/pwm-imx1.c
parent9504db5765e83cc919caf6647725f7d022874c9d (diff)
iio: hid: trigger: Balance runtime pm + use pm_runtime_resume_and_get()
The call to pm_runtime_put_noidle() in remove() callback is not balanced by any gets Note this doesn't cause any problems beyond reader confusion as the runtime pm core protects against the reference counter going negative. Whilst here, use pm_runtiem_resume_and_get() to simplify code a little. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/20210509113354.660190-9-jic23@kernel.org
Diffstat (limited to 'drivers/pwm/pwm-imx1.c')
0 files changed, 0 insertions, 0 deletions