Input: wacom - assign phys field from struct wacom into input_dev
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Thu, 24 Jul 2014 19:48:06 +0000 (12:48 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 26 Jul 2014 01:53:45 +0000 (18:53 -0700)
This field was not used for 9 years, it is time to assign it.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/tablet/wacom_sys.c

index 72b1724ac7d0a6291c0bae06c056207b98956758..7cd0886cddd22f4de8e15e6aab190cce8b8132b8 100644 (file)
@@ -1127,6 +1127,7 @@ static int wacom_register_input(struct wacom *wacom)
        }
 
        input_dev->name = wacom_wac->name;
+       input_dev->phys = wacom->phys;
        input_dev->dev.parent = &intf->dev;
        input_dev->open = wacom_open;
        input_dev->close = wacom_close;