mbox series

[0/2] can: etas_es58x: cleanups on struct es58x_device

Message ID 20220611162037.1507-1-mailhol.vincent@wanadoo.fr (mailing list archive)
Headers show
Series can: etas_es58x: cleanups on struct es58x_device | expand

Message

Vincent Mailhol June 11, 2022, 4:20 p.m. UTC
This series contains two clean up patches toward struct es58x_device
of the CAN etas_es58x driver. The first one removes the field
rx_max_packet_size which value can actually be retrieved from the
helper function usb_maxpacket(). The second one fixes the signedness
of the TX and RX pipes.

No functional changes.

Vincent Mailhol (2):
  can: etas_es58x: replace es58x_device::rx_max_packet_size by
    usb_maxpacket()
  can: etas_es58x: fix signedness of USB RX and TX pipes

 drivers/net/can/usb/etas_es58x/es58x_core.c | 5 ++---
 drivers/net/can/usb/etas_es58x/es58x_core.h | 6 ++----
 2 files changed, 4 insertions(+), 7 deletions(-)

Comments

Marc Kleine-Budde June 11, 2022, 8:49 p.m. UTC | #1
On 12.06.2022 01:20:35, Vincent Mailhol wrote:
> This series contains two clean up patches toward struct es58x_device
> of the CAN etas_es58x driver. The first one removes the field
> rx_max_packet_size which value can actually be retrieved from the
> helper function usb_maxpacket(). The second one fixes the signedness
> of the TX and RX pipes.
> 
> No functional changes.

Applied to linux-can-next/testing.

Marc