[PATCH] i2c: stm32f7: avoid ifdef CONFIG_PM_SLEEP for pm callbacks

Wolfram Sang wsa at kernel.org
Tue Apr 6 21:40:32 BST 2021


On Fri, Mar 12, 2021 at 12:53:27PM +0100, Alain Volmat wrote:
> Avoid CONFIG_PM preprocessor check for pm suspend/resume
> callbacks and identify the functions with __maybe_unused.
> 
> Signed-off-by: Alain Volmat <alain.volmat at foss.st.com>

Applied to for-next, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210406/32e7c88f/attachment.sig>


More information about the linux-arm-kernel mailing list