From: Harvey Harrison Date: Fri, 2 May 2008 03:52:57 +0000 (-0700) Subject: USB: use get_unaligned_* helpers for kl5kusb105 driver X-Git-Tag: v2.6.27-rc1~946^2~94 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=bd2c784595e3dd551c2b3aa4167657bcc802f598;p=linux-2.6-omap-h63xx.git USB: use get_unaligned_* helpers for kl5kusb105 driver Signed-off-by: Harvey Harrison Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/serial/kl5kusb105.c b/drivers/usb/serial/kl5kusb105.c index f328948d74e..79787eda952 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, 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]);