Martin Kaiser <martin@xxxxxxxxx> wrote: > We can use the module_usb_driver macro instead of open-coding the driver's > init and exit functions. This is simpler and saves some lines of code. > Other realtek wireless drivers use module_usb_driver as well. > > Signed-off-by: Martin Kaiser <martin@xxxxxxxxx> > Reviewed-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx> > Tested-by: Philipp Hortmann <philipp.g.hortmann@xxxxxxxxx> # Edimax N150 Patch applied to wireless-next.git, thanks. 0606b344021a wifi: rtl8xxxu: use module_usb_driver -- https://patchwork.kernel.org/project/linux-wireless/patch/20230307195718.168021-1-martin@xxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches