linux/drivers/iio/common
Jonathan Cameron af51ec8c92 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
2021-06-03 18:24:12 +01:00
..
cros_ec_sensors iio: cros: unify hw fifo attributes without API changes 2021-03-25 19:13:52 +00:00
hid-sensors iio: hid: trigger: Balance runtime pm + use pm_runtime_resume_and_get() 2021-06-03 18:24:12 +01:00
ms_sensors iio:common:ms_sensors:ms_sensors_i2c: add support for alternative PROM layout 2021-01-22 08:52:07 +00:00
scmi_sensors iio: common: scmi_sensors: Drop duplicate setting of iio_dev.dev.parent 2021-05-17 13:49:12 +01:00
ssp_sensors iio: ssp: use PLATFORM_DEVID_NONE 2020-09-29 17:27:06 +01:00
st_sensors iio: set default trig->dev.parent 2021-03-25 19:13:50 +00:00
Kconfig iio/scmi: Adding support for IIO SCMI Based Sensors 2021-03-13 16:43:04 +00:00
Makefile iio/scmi: Adding support for IIO SCMI Based Sensors 2021-03-13 16:43:04 +00:00