diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-03-20 08:33:38 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-04-14 10:24:42 +0400 |
commit | 252f77698fe37bdd784e514820852a3ea9827fd0 (patch) | |
tree | 771f676d49eef41ee1fb2a98c2d1a99171968124 /drivers/input/tablet/wacom.h | |
parent | 95dd3b30ced3ee740e5dd92fc44515a5a6a350d4 (diff) | |
download | linux-252f77698fe37bdd784e514820852a3ea9827fd0.tar.xz |
Input: wacom - use get_unaligned to access unaligned data
Also get rid of wacom_le16_to_cpu() and wacom_be16_to_cpu() helpers and
ise le16_to_cpup() and be16_to_cpup() directly.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/tablet/wacom.h')
-rw-r--r-- | drivers/input/tablet/wacom.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/input/tablet/wacom.h b/drivers/input/tablet/wacom.h index 56a37074e0dd..284dfaab6b8c 100644 --- a/drivers/input/tablet/wacom.h +++ b/drivers/input/tablet/wacom.h @@ -120,7 +120,4 @@ extern const struct usb_device_id wacom_ids[]; void wacom_wac_irq(struct wacom_wac *wacom_wac, size_t len); void wacom_setup_input_capabilities(struct input_dev *input_dev, struct wacom_wac *wacom_wac); -__u16 wacom_le16_to_cpu(unsigned char *data); -__u16 wacom_be16_to_cpu(unsigned char *data); - #endif |