diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-10-24 22:04:57 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-10-28 20:04:11 +0000 |
| commit | 08cc11c6677404d3270235251ae9ad0fa59c249c (patch) | |
| tree | 17bc41fefa8011af03fc67c586d7306aa541741e /tools/perf/scripts/python | |
| parent | iio: accel: kxcjk-1013: Revert "Add support for KX022-1020" (diff) | |
| download | linux-08cc11c6677404d3270235251ae9ad0fa59c249c.tar.gz linux-08cc11c6677404d3270235251ae9ad0fa59c249c.zip | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
