mmc: sunxi: Use ifdef rather than __maybe_unused
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 30 May 2018 13:02:16 +0000 (15:02 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 30 May 2018 13:02:16 +0000 (15:02 +0200)
commitaf6b8ff4bce4ea43e89236339f84fc0a26044c42
tree98c1ad9d46b6f159a6b818fe0c8d91337e6e9950
parentd8edfc4edd2ecaf7848a5f7533cac1178fac5bcc
mmc: sunxi: Use ifdef rather than __maybe_unused

To be consistent with code in other mmc host drivers, convert to check the
correct PM config #ifdef in favor of using __maybe_unused.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sunxi-mmc.c