staging: r8188eu: pass struct adapter to usb_write
authorMartin Kaiser <martin@kaiser.cx>
Mon, 23 Jan 2023 20:53:21 +0000 (21:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jan 2023 09:10:35 +0000 (10:10 +0100)
commitefa1c4e56c7d513bbca46f4f98ff8de25791654d
tree3bf3a16dd10662a79db089f7b82c31d7feb59516
parent11617b77ad730903dc9a9cc659656b0ade03ef3e
staging: r8188eu: pass struct adapter to usb_write

The usb_write 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/20230123205342.229589-3-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/usb_ops_linux.c