i2c: at91: remove #define CONFIG_PM
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Mon, 5 Jul 2021 12:15:16 +0000 (15:15 +0300)
committerWolfram Sang <wsa@kernel.org>
Tue, 10 Aug 2021 21:08:42 +0000 (23:08 +0200)
commitdab4b0e8c9a5a4edc406e6fc24030afeb348383d
tree5e3637b3f74ae336112755f6761ce8d856b3fd6a
parent9c5b1daa3b24f13b7c517ba616c7a49abd7ab843
i2c: at91: remove #define CONFIG_PM

Remove #define CONFIG_PM and use __maybe_unused for PM functions and
pm_ptr() for PM ops.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Reviewed-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-at91-core.c