[PATCH] wifi: mt76: mt7921s: Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr()

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Thu Sep 15 06:40:55 PDT 2022


Il 15/09/22 10:36, Deren Wu ha scritto:
> From: Deren Wu <deren.wu at mediatek.com>
> 
> Use the new DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() macros to
> handle the .suspend/.resume callbacks. The new macros allow suspend
> and resume functions to be automatically dropped without any #ifdef
> guards.
> 
> Tested-by: YN Chen <YN.Chen at mediatek.com>
> Signed-off-by: Deren Wu <deren.wu at mediatek.com>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>





More information about the Linux-mediatek mailing list