projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0031a06
)
USB: use get_unaligned_* helpers for kl5kusb105 driver
author
Harvey Harrison
<harvey.harrison@gmail.com>
Fri, 2 May 2008 03:52:57 +0000
(20:52 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Mon, 21 Jul 2008 22:15:47 +0000
(15:15 -0700)
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/kl5kusb105.c
patch
|
blob
|
history
diff --git
a/drivers/usb/serial/kl5kusb105.c
b/drivers/usb/serial/kl5kusb105.c
index f328948d74e3dfc9cf21439333ef48140eff1af9..79787eda95249b987b466f1b04009383b142d421 100644
(file)
--- 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]);