[PATCH 7/7] ASoC: mediatek: mt8195-afe-pcm: Drop .remove_new() callback

Trevor Wu (吳文良) Trevor.Wu at mediatek.com
Thu Jan 11 22:13:10 PST 2024


On Thu, 2024-01-11 at 11:52 +0100, AngeloGioacchino Del Regno wrote:
> As we're calling devm_pm_runtime_enable() in the probe function of
> this
> driver we don't need to disable it on remove as that's devm managed:
> drop the .remove_new() callback entirely.
> 
> While at it, also add the sentinel comment to the last of_device_id
> entry.
> 
> Signed-off-by: AngeloGioacchino Del Regno <
> angelogioacchino.delregno at collabora.com>
> ---
>  sound/soc/mediatek/mt8195/mt8195-afe-pcm.c | 12 ++----------
>  1 file changed, 2 insertions(+), 10 deletions(-)

Reviewed-by: Trevor Wu <trevor.wu at mediatek.com>


More information about the linux-arm-kernel mailing list