Re: [PATCH 1/3] wilc1000: use goto labels on error path
From: Kalle Valo <hidden>
Date: 2021-08-21 17:46:15
Also in:
lkml, netdev
From: Kalle Valo <hidden>
Date: 2021-08-21 17:46:15
Also in:
lkml, netdev
Claudiu Beznea [off-list ref] wrote:
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 <redacted>
3 patches applied to wireless-drivers-next.git, thanks. dc8b338f3bcd wilc1000: use goto labels on error path f36a0ee599c9 wilc1000: dispose irq on failure path 1d89fd1a39d1 wilc1000: use devm_clk_get_optional() -- https://patchwork.kernel.org/project/linux-wireless/patch/20210806081229.721731-2-claudiu.beznea@microchip.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches