Re: [PATCH] cpufreq: mediatek: Use dev_err_probe in every error path in probe
From: Viresh Kumar
Date: Wed Jul 03 2024 - 23:10:14 EST
On 03-07-24, 14:43, AngeloGioacchino Del Regno wrote:
> Yes it will, but `ret = dev_err_probe(dev, -ENOMEM, "...")` is still kind of a
> shortcut, as that will effectively assign -ENOMEM to ret, so that the error is
> still returned like before ;-)
Ahh, my bad. I missed that you are assigning `ret` again.
--
viresh