summaryrefslogtreecommitdiffstats
path: root/drivers/input/tablet/wacom.h
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2010-03-19 22:33:38 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-04-13 23:24:42 -0700
commit252f77698fe37bdd784e514820852a3ea9827fd0 (patch)
tree771f676d49eef41ee1fb2a98c2d1a99171968124 /drivers/input/tablet/wacom.h
parent95dd3b30ced3ee740e5dd92fc44515a5a6a350d4 (diff)
downloadblackbird-op-linux-252f77698fe37bdd784e514820852a3ea9827fd0.tar.gz
blackbird-op-linux-252f77698fe37bdd784e514820852a3ea9827fd0.zip
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.h3
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
OpenPOWER on IntegriCloud