linux-mainline/drivers/net/wireless/atmel
Christophe JAILLET 6b92e4351a wifi: atmel: Fix an error handling path in atmel_probe()
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: 15b99ac172 ("[PATCH] pcmcia: add return value to _config() functions")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/1e65f174607a83348034197fa7d603bab10ba4a9.1684569156.git.christophe.jaillet@wanadoo.fr
2023-05-25 19:16:15 +03:00
..
at76c50x-usb.c
at76c50x-usb.h
atmel_cs.c wifi: atmel: Fix an error handling path in atmel_probe() 2023-05-25 19:16:15 +03:00
atmel_pci.c
atmel.c
atmel.h
Kconfig wifi: add HAS_IOPORT dependencies 2023-05-25 19:08:30 +03:00
Makefile