Removes one more need of usb and intf.

Signed-off-by: Benjamin Tissoires <benjamin.tissoi...@redhat.com>
---
 drivers/input/tablet/wacom_sys.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/drivers/input/tablet/wacom_sys.c b/drivers/input/tablet/wacom_sys.c
index 2313f1a..2208b4a 100644
--- a/drivers/input/tablet/wacom_sys.c
+++ b/drivers/input/tablet/wacom_sys.c
@@ -1101,12 +1101,11 @@ static void wacom_wireless_work(struct work_struct 
*work)
        wacom_wac2->input = NULL;
 
        if (wacom_wac->pid == 0) {
-               dev_info(&wacom->intf->dev, "wireless tablet disconnected\n");
+               hid_info(wacom->hdev, "wireless tablet disconnected\n");
        } else {
                const struct hid_device_id *id = wacom_ids;
 
-               dev_info(&wacom->intf->dev,
-                        "wireless tablet connected with PID %x\n",
+               hid_info(wacom->hdev, "wireless tablet connected with PID %x\n",
                         wacom_wac->pid);
 
                while (id->bus) {
@@ -1117,8 +1116,7 @@ static void wacom_wireless_work(struct work_struct *work)
                }
 
                if (!id->bus) {
-                       dev_info(&wacom->intf->dev,
-                                "ignoring unknown PID.\n");
+                       hid_info(wacom->hdev, "ignoring unknown PID.\n");
                        return;
                }
 
-- 
2.0.0


------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to