Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> 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> Patch applied to wireless-next.git, thanks. 6b92e4351a29 wifi: atmel: Fix an error handling path in atmel_probe() -- https://patchwork.kernel.org/project/linux-wireless/patch/1e65f174607a83348034197fa7d603bab10ba4a9.1684569156.git.christophe.jaillet@xxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches