iio: accel: bma220: Mark PM functions as __maybe_unused
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 31 Aug 2020 09:08:09 +0000 (12:08 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 3 Sep 2020 18:40:59 +0000 (19:40 +0100)
commit4d9a167a3436b960b25900fb9539d953657cf501
tree2231b7806133f219868f956d3825d07922ae2033
parent700e63dadacdb7eee04650b6e8c66824d585aaf3
iio: accel: bma220: Mark PM functions as __maybe_unused

Instead of using ugly ifdeffery, mark PM functions as __maybe_unused.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20200831090813.78841-4-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/bma220_spi.c