diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-05-02 05:52:57 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-07-22 00:15:47 +0200 |
commit | bd2c784595e3dd551c2b3aa4167657bcc802f598 (patch) | |
tree | 0924ab6e5d90922328d4cf71bc6f6509fdf5e29f /drivers/usb/serial/kl5kusb105.c | |
parent | USB: usb dev_set_name() instead of dev->bus_id (diff) | |
download | linux-bd2c784595e3dd551c2b3aa4167657bcc802f598.tar.xz linux-bd2c784595e3dd551c2b3aa4167657bcc802f598.zip |
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>
Diffstat (limited to 'drivers/usb/serial/kl5kusb105.c')
-rw-r--r-- | drivers/usb/serial/kl5kusb105.c | 2 |
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, 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]); |