[PATCH 14/20] usb/phy: mxs-usb: Use pm_ptr() macro
Felipe Balbi
balbi at kernel.org
Mon Sep 7 16:07:24 AEST 2020
Paul Cercueil <paul at crapouillou.net> writes:
> Use the newly introduced pm_ptr() macro, and mark the suspend/resume
> functions __maybe_unused. These functions can then be moved outside the
> CONFIG_PM_SUSPEND block, and the compiler can then process them and
> detect build failures independently of the config. If unused, they will
> simply be discarded by the compiler.
>
> Signed-off-by: Paul Cercueil <paul at crapouillou.net>
> ---
Acked-by: Felipe Balbi <balbi at kernel.org>
--
balbi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 857 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20200907/e5181bff/attachment.sig>
More information about the openbmc
mailing list