i2c: mpc: Remove CONFIG_PM_SLEEP ifdeffery
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 14 Apr 2021 22:33:23 +0000 (10:33 +1200)
committerWolfram Sang <wsa@kernel.org>
Thu, 15 Apr 2021 20:08:22 +0000 (22:08 +0200)
commit66679e9b8362163a05348e73d8ddae6da7a572c5
tree9fb4e436c47ab51c4a79a6744cb73908d81ee654
parentc9598d04e738e289a2d95721b2f8c63ba0d977d2
i2c: mpc: Remove CONFIG_PM_SLEEP ifdeffery

Use __maybe_unused for the suspend()/resume() hooks and get rid of
the CONFIG_PM_SLEEP ifdeffery to improve the code.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-mpc.c