diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-10-20 22:45:00 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-10-21 13:17:04 +0100 |
commit | 6c3c438c085b2cd79b3291b67f8f7ece62371947 (patch) | |
tree | d83448192ceddb43227df7c4b3d33c3138101e0b /Documentation/firmware-guide | |
parent | 8fc8250a1586008cceaadd6f4df9db23643d4b3e (diff) |
spi: pxa2xx: Switch from PM ifdeffery to pm_ptr()
Cleaning up the driver to use pm_ptr() macro instead of ifdeffery
that makes it simpler and allows the compiler to remove those functions
if built without CONFIG_PM and CONFIG_PM_SLEEP support.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20221020194500.10225-6-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/firmware-guide')
0 files changed, 0 insertions, 0 deletions