]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
staging: iio: adt7316: modernize power management
authorMichael Harris <michaelharriscode@gmail.com>
Tue, 6 Jan 2026 14:50:55 +0000 (06:50 -0800)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 11 Jan 2026 13:00:22 +0000 (13:00 +0000)
commitc84cde33b00451c7380482d19feef67d04deae7d
tree082732fe825de1e885d54afa8460be700863cb36
parenta750088883da1d21502d26bf5852a0d49efb1604
staging: iio: adt7316: modernize power management

Replaced use of deprecated function SIMPLE_DEV_PM_OPS() with
EXPORT_GPL_SIMPLE_DEV_PM_OPS().

Removed PM preprocessor conditions with usage of pm_sleep_ptr().

Signed-off-by: Michael Harris <michaelharriscode@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/staging/iio/addac/adt7316-i2c.c
drivers/staging/iio/addac/adt7316-spi.c
drivers/staging/iio/addac/adt7316.c
drivers/staging/iio/addac/adt7316.h