lkml.org 
[lkml]   [2014]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v2] Input - wacom: assign phys field from struct wacom into input_dev
Date
This field was not used for 9 years, it is time to assign it.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
---
Hi Dmitry,

this is the v2 (more a re-spin) of the patch entitled:
"Input - wacom: remove phys field in struct wacom".

Cheers,
Benjamin

drivers/input/tablet/wacom_sys.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/input/tablet/wacom_sys.c b/drivers/input/tablet/wacom_sys.c
index afa4e8d..f03f25b 100644
--- a/drivers/input/tablet/wacom_sys.c
+++ b/drivers/input/tablet/wacom_sys.c
@@ -1133,6 +1133,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;
--
1.9.3


\
 
 \ /
  Last update: 2014-06-23 23:21    [W:0.033 / U:3.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site