[PATCH 02/22] ASoC: mediatek: mt8192-afe-pcm: Simplify with dev_err_probe()

Chen-Yu Tsai wenst at chromium.org
Wed Feb 28 19:25:31 PST 2024


On Tue, Feb 27, 2024 at 8:10 PM AngeloGioacchino Del Regno
<angelogioacchino.delregno at collabora.com> wrote:
>
> Simplify the probe function by switching error prints to return
> dev_err_probe(), lowering the lines count; while at it, also
> beautify some messages and change some others' level from warn
> to error.
>
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>

Reviewed-by: Chen-Yu Tsai <wenst at chromium.org>



More information about the linux-arm-kernel mailing list