linux/drivers/net/wireless
Yajun Deng 49a78b05d5 USB: core: Use device_driver directly in struct usb_driver and usb_device_driver
There is usbdrv_wrap in struct usb_driver and usb_device_driver, it
contains device_driver and for_devices. for_devices is used to
distinguish between device drivers and interface drivers.

Like the is_usb_device(), it tests the type of the device. We can test
that if the probe of device_driver is equal to usb_probe_device in
is_usb_device_driver(), and then the struct usbdrv_wrap is no longer
needed.

Clean up struct usbdrv_wrap, use device_driver directly in struct
usb_driver and usb_device_driver. This makes the code cleaner.

Signed-off-by: Yajun Deng <yajun.deng@linux.dev>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Link: https://lore.kernel.org/r/20240104032822.1896596-1-yajun.deng@linux.dev
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2024-01-04 16:06:32 +01:00
..
admtek wifi: mac80211: add wake_tx_queue callback to drivers 2022-10-10 11:00:03 +02:00
ath wifi: mac80211: use wiphy locked debugfs helpers for agg_status 2023-11-27 11:25:01 +01:00
atmel wifi: atmel: remove unused ioctl function 2023-10-14 09:41:21 +03:00
broadcom USB: core: Use device_driver directly in struct usb_driver and usb_device_driver 2024-01-04 16:06:32 +01:00
cisco wifi: airo: avoid uninitialized warning in airo_get_rate() 2023-07-11 19:22:54 -07:00
intel wireless fixes: 2023-11-29 19:43:34 -08:00
intersil wifi: hostap: remove unused ioctl function 2023-10-14 09:41:22 +03:00
legacy wifi: ray_cs: Remove unnecessary (void*) conversions 2023-10-25 20:44:40 +03:00
marvell USB: core: Use device_driver directly in struct usb_driver and usb_device_driver 2024-01-04 16:06:32 +01:00
mediatek wifi: mt76: mt7925: fix typo in mt7925_init_he_caps 2023-11-22 17:56:47 +02:00
microchip wifi: wilc1000: use vmm_table as array in wilc struct 2023-10-19 10:30:34 +03:00
purelifi wifi: plfxlc: fix clang-specific fortify warning 2023-09-04 20:33:34 +03:00
quantenna wifi: cfg80211: split struct cfg80211_ap_settings 2023-09-25 09:00:39 +02:00
ralink wifi: rt2x00: rework MT7620 PA/LNA RF calibration 2023-10-25 12:06:16 +03:00
realtek wireless-next patches for v6.7 2023-10-26 20:27:58 -07:00
rsi wifi: rsi: rsi_91x_usb_ops: Remove unnecessary (void*) conversions 2023-08-23 14:07:16 +03:00
silabs wifi: wfx: fix case where rates are out of order 2023-10-09 09:54:14 +03:00
st wifi: mac80211: rename ieee80211_tx_status() to ieee80211_tx_status_skb() 2023-10-23 12:26:51 +02:00
ti wifi: wlcore: main: replace deprecated strncpy with strscpy 2023-10-23 20:29:46 +03:00
virtual wifi: mac80211_hwsim: Handle BSS_CHANGED_VALID_LINKS 2023-09-25 09:12:33 +02:00
zydas Fix nomenclature for USB and PCI wireless devices 2023-08-25 12:56:49 +03:00
Kconfig wifi: move raycs, wl3501 and rndis_wlan to legacy directory 2023-03-13 15:42:14 +02:00
Makefile wifi: move raycs, wl3501 and rndis_wlan to legacy directory 2023-03-13 15:42:14 +02:00