[PATCH] ASoC: cs35l35: Fix an error handling path in 'cs35l35_i2c_probe()'

Mark Brown broonie at kernel.org
Tue Apr 13 14:43:23 CEST 2021


On Sun, Apr 11, 2021 at 02:51:06PM +0200, Christophe JAILLET wrote:
> If 'devm_regmap_init_i2c()' fails, there is no need to goto err. We should
> return directly as already done by the surrounding error handling paths.

These are stylistic improvements rather than bug fixes so it's probably
better not to call them fixes.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20210413/9f5d78e2/attachment.sig>


More information about the Alsa-devel mailing list