linux-stable/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 wifi: mac80211: add wake_tx_queue callback to drivers 2022-10-10 11:00:03 +02:00
at76c50x-usb.h atmel: at76c50x: Replace zero-length array with flexible-array member 2020-03-23 19:17:11 +02:00
atmel.c wifi: atmel: Fix atmel_private_handler array size 2022-11-01 12:30:22 +02:00
atmel.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 106 2019-05-24 17:39:01 +02:00
atmel_cs.c wifi: atmel: Fix an error handling path in atmel_probe() 2023-05-25 19:16:15 +03:00
atmel_pci.c module: remove never implemented MODULE_SUPPORTED_DEVICE 2021-03-17 13:16:18 -07:00
Kconfig wifi: add HAS_IOPORT dependencies 2023-05-25 19:08:30 +03:00
Makefile