[PATCH] i2c: st: use pm_sleep_ptr to avoid ifdef CONFIG_PM_SLEEP

Wolfram Sang wsa at kernel.org
Sun Feb 12 13:07:12 PST 2023


On Mon, Feb 06, 2023 at 10:03:23PM +0100, Alain Volmat wrote:
> Rely on pm_sleep_ptr when setting the pm ops and get rid
> of the ifdef CONFIG_PM_SLEEP around suspend/resume functions.
> 
> Signed-off-by: Alain Volmat <avolmat at me.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/20230212/e748d23a/attachment.sig>


More information about the linux-arm-kernel mailing list