staging: r8188eu: pass struct adapter to usb_read
authorMartin Kaiser <martin@kaiser.cx>
Wed, 11 Jan 2023 19:56:37 +0000 (20:56 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jan 2023 18:37:27 +0000 (19:37 +0100)
commit0d4560530d0ec4094fa7c5ebbf123a8e15fdd554
tree44ebd46649c2fe526e98cdfcbf743d6720a6d072
parent3f7d87d4ecd7b75482b381ab035e72757f899f6b
staging: r8188eu: pass struct adapter to usb_read

The usb_read function takes a struct intf_hdl only to extract the struct
adapter from it. We can pass struct adapter directly.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Link: https://lore.kernel.org/r/20230111195640.306748-18-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/usb_ops_linux.c