summaryrefslogtreecommitdiff
path: root/include/linux/i2c/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2024-10-24 22:04:57 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-10-28 20:04:11 +0000
commit08cc11c6677404d3270235251ae9ad0fa59c249c (patch)
tree17bc41fefa8011af03fc67c586d7306aa541741e /include/linux/i2c/git@git.tavy.me:linux.git
parentb01b559682f3d651763e1b1df0368a317b2e4f5d (diff)
iio: accel: kxcjk-1013: Switch from CONFIG_PM guards to pm_ptr() etc
Letting the compiler remove these functions when the kernel is built without CONFIG_PM support is simpler and less error prone than the use of #ifdef based config guards. Removing instances of this approach from IIO also stops them being copied into new drivers. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://patch.msgid.link/20241024191200.229894-9-andriy.shevchenko@linux.intel.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions