aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-05-01 23:52:57 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2008-07-21 18:15:47 -0400
commitbd2c784595e3dd551c2b3aa4167657bcc802f598 (patch)
tree0924ab6e5d90922328d4cf71bc6f6509fdf5e29f
parent0031a06e2f07ab0d1bc98c31dbb6801f95f4bf01 (diff)
USB: use get_unaligned_* helpers for kl5kusb105 driver
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/usb/serial/kl5kusb105.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/kl5kusb105.c b/drivers/usb/serial/kl5kusb105.c
index f328948d74e3..79787eda9524 100644
--- a/drivers/usb/serial/kl5kusb105.c
+++ b/drivers/usb/serial/kl5kusb105.c
@@ -236,7 +236,7 @@ static int klsi_105_get_line_state(struct usb_serial_port *port,
236 if (rc < 0) 236 if (rc < 0)
237 err("Reading line status failed (error = %d)", rc); 237 err("Reading line status failed (error = %d)", rc);
238 else { 238 else {
239 status = le16_to_cpu(get_unaligned((__le16 *)status_buf)); 239 status = get_unaligned_le16(status_buf);
240 240
241 info("%s - read status %x %x", __func__, 241 info("%s - read status %x %x", __func__,
242 status_buf[0], status_buf[1]); 242 status_buf[0], status_buf[1]);