Re: [PATCH wireless] atmel: Fix an error handling path in atmel_probe()

From: Simon Horman
Date: Thu May 25 2023 - 05:22:24 EST


On Sat, May 20, 2023 at 09:53:14AM +0200, Christophe JAILLET wrote:
> Should atmel_config() fail, some resources need to be released as already
> done in the remove function.
>
> While at it, remove a useless and erroneous comment. The probe is
> atmel_probe(), not atmel_attach().
>
> Fixes: 15b99ac17295 ("[PATCH] pcmcia: add return value to _config() functions")
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>

Reviewed-by: Simon Horman <simon.horman@xxxxxxxxxxxx>