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

From: Vincent Mailhol
Date: Sat Jun 11 2022 - 12:20:57 EST


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(-)

--
2.35.1