Skip to content

Commit

Permalink
USB: use get_unaligned_* helpers for kl5kusb105 driver
Browse files Browse the repository at this point in the history
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Harvey Harrison authored and Greg Kroah-Hartman committed Jul 21, 2008
1 parent 0031a06 commit bd2c784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/serial/kl5kusb105.c
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit bd2c784

Please sign in to comment.