linux/drivers/hwspinlock
Baolin Wang a6fc49051c hwspinlock: Let the PM runtime can be optional
Now some hwspinlock controllers did not have the requirement to implement
the PM runtime, but drivers must enable the PM runtime to comply with the
hwspinlock core.

Thus we can change the PM runtime support to be optional by validating
the -EACCES error number which means the PM runtime is not enabled, and
removing the return value validating of pm_runtime_put(). So that we
can remove some redundant PM runtime code in drivers.

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2019-11-08 16:42:00 -08:00
..
hwspinlock_core.c hwspinlock: Let the PM runtime can be optional 2019-11-08 16:42:00 -08:00
hwspinlock_internal.h hwspinlock/core: Switch to SPDX license identifier 2018-05-24 12:04:32 -07:00
Kconfig hwspinlock/omap: Add support for TI K3 SoCs 2019-06-29 11:40:04 -07:00
Makefile hwspinlock: add STM32 hwspinlock device 2018-12-05 12:45:21 -08:00
omap_hwspinlock.c hwspinlock/omap: Add a trace during probe 2019-06-29 11:40:06 -07:00
qcom_hwspinlock.c hwspinlock: qcom: Switch to SPDX license identifier 2018-05-24 12:04:46 -07:00
sirf_hwspinlock.c hwspinlock updates for v4.18 2018-06-11 12:09:19 -07:00
sprd_hwspinlock.c hwspinlock: sprd: Use devm_hwspin_lock_register() to register hwlock controller 2019-10-04 21:10:26 -07:00
stm32_hwspinlock.c hwspinlock: stm32: implement the relax() ops 2019-06-29 21:04:24 -07:00
u8500_hsem.c hwspinlock: u8500_hsem: Use devm_hwspin_lock_register() to register hwlock controller 2019-10-04 20:20:41 -07:00