mfd: atmel-flexcom: Remove #ifdef CONFIG_PM_SLEEP
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Thu, 28 Oct 2021 13:51:37 +0000 (16:51 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jan 2022 09:53:51 +0000 (10:53 +0100)
commit46d6a2311409d03c0679b125d9b8aadc3f54e763
treecbc98390d70a7f2f78378ca6298232e3d4b05044
parentf93c9aa1d36f594b065c93d8bd17151d21fe02d8
mfd: atmel-flexcom: Remove #ifdef CONFIG_PM_SLEEP

[ Upstream commit 8c0fad75dcaa650e3f3145a2c35847bc6a65cb7f ]

Remove compilation flag and use __maybe_unused and pm_ptr instead.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20211028135138.3481166-2-claudiu.beznea@microchip.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/mfd/atmel-flexcom.c