iio:accel:bmc150: Mark structure __maybe_unused as only needed with for pm ops.
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 28 Nov 2021 17:24:44 +0000 (17:24 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 21 Dec 2021 15:10:09 +0000 (15:10 +0000)
commitf3d29c85e6eb5d83d29e2c2bbdf9c824df4cc442
tree1da2b19d5953390bf7ddc1e6650727e35e9c7761
parente8ffca613cd8dfc27adbfc6cee08b659abed3d88
iio:accel:bmc150: Mark structure __maybe_unused as only needed with for pm ops.

If CONFIG_PM not set then clang warns this structure is unused.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Stephan Gerhold <stephan@gerhold.net>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Link: https://lore.kernel.org/r/20211128172445.2616166-12-jic23@kernel.org
drivers/iio/accel/bmc150-accel-core.c