Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
can: gs_usb: convert from usb_control_msg() to usb_control_msg_{send,…
…recv}() Convert the driver to use usb_control_msg_{send,recv}() instead of usb_control_msg(). These functions allow the data to be placed on the stack. This makes the driver a lot easier as we don't have to deal with dynamically allocated memory. Link: https://lore.kernel.org/all/20220921193902.575416-3-mkl@pengutronix.de Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
- Loading branch information