mirror of
https://github.com/torvalds/linux
synced 2024-10-17 16:58:15 +00:00
2f61ff8272
The suspend and resume callbacks in this driver appear to be safe to call repeatedly, but why do so when we can use the DEFINE_RUNTIME_DEV_PM_OPS() macro to supply callbacks that check if we are already runtime suspended before doing unnecessary work. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Cc: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com> Acked-by: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com> Link: https://lore.kernel.org/r/20220807190414.1039028-2-jic23@kernel.org |
||
---|---|---|
.. | ||
abp060mg.c | ||
bmp280-core.c | ||
bmp280-i2c.c | ||
bmp280-regmap.c | ||
bmp280-spi.c | ||
bmp280.h | ||
cros_ec_baro.c | ||
dlhl60d.c | ||
dps310.c | ||
hid-sensor-press.c | ||
hp03.c | ||
hp206c.c | ||
icp10100.c | ||
Kconfig | ||
Makefile | ||
mpl115.c | ||
mpl115.h | ||
mpl115_i2c.c | ||
mpl115_spi.c | ||
mpl3115.c | ||
ms5611.h | ||
ms5611_core.c | ||
ms5611_i2c.c | ||
ms5611_spi.c | ||
ms5637.c | ||
st_pressure.h | ||
st_pressure_buffer.c | ||
st_pressure_core.c | ||
st_pressure_i2c.c | ||
st_pressure_spi.c | ||
t5403.c | ||
zpa2326.c | ||
zpa2326.h | ||
zpa2326_i2c.c | ||
zpa2326_spi.c |