Re: [PATCH lora-next v2 2/8] net: lora: sx1301: convert to devm registration of netdev

2018-08-09 Thread Andreas Färber
Am 09.08.2018 um 14:33 schrieb Ben Whitten: > We allow the devres framework handle the clean removal of resources on > teardown of the device, in this case the SPI device, saving lengthy > unwind code and improving clarity. > > Signed-off-by: Ben Whitten > --- > drivers/net/lora/sx1301.c | 87 >

[PATCH lora-next v2 2/8] net: lora: sx1301: convert to devm registration of netdev

2018-08-09 Thread Ben Whitten
We allow the devres framework handle the clean removal of resources on teardown of the device, in this case the SPI device, saving lengthy unwind code and improving clarity. Signed-off-by: Ben Whitten --- drivers/net/lora/sx1301.c | 87 +++ 1 file chan