usb: use get_unaligned_* helpers
Subsystems (2)
PATCH 5/14 usb: use get_unaligned_* helpers
Signed-off-by Harvey Harrison <[email protected]>
--- drivers/usb/serial/kl5kusb105.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/usb/serial/kl5kusb105.c +1 -1
@@ -236,7 +236,7 @@ static int klsi_105_get_line_state(struct usb_serial_port *port,if (rc <0 )err ("Reading line status failed (error = %d)" , rc);else { - status =le16_to_cpu (get_unaligned ((__le16 *)status_buf)); + status =get_unaligned_le16 (status_buf);info ("%s - read status %x %x" , __func__, status_buf[0 ], status_buf[1 ]);
Signature · 1 line
1.5.5.1.350.gbbbf