Searched hist:dc8b338f (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/wireless/microchip/wilc1000/ |
H A D | sdio.c | dc8b338f Fri Aug 06 03:12:27 CDT 2021 Claudiu Beznea <claudiu.beznea@microchip.com> wilc1000: use goto labels on error path
Use goto labels on error path for probe functions. This makes code easier to read. With this introduce also netdev_cleanup and call it where necessary.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20210806081229.721731-2-claudiu.beznea@microchip.com
|
H A D | spi.c | dc8b338f Fri Aug 06 03:12:27 CDT 2021 Claudiu Beznea <claudiu.beznea@microchip.com> wilc1000: use goto labels on error path
Use goto labels on error path for probe functions. This makes code easier to read. With this introduce also netdev_cleanup and call it where necessary.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20210806081229.721731-2-claudiu.beznea@microchip.com
|