linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] Input - wacom: assign phys field from struct wacom into input_dev
@ 2014-06-23 20:30 Benjamin Tissoires
  0 siblings, 0 replies; only message in thread
From: Benjamin Tissoires @ 2014-06-23 20:30 UTC (permalink / raw)
  To: Dmitry Torokhov, Ping Cheng, Jason Gerecke; +Cc: linux-input, linux-kernel

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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-06-23 20:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-23 20:30 [PATCH v2] Input - wacom: assign phys field from struct wacom into input_dev Benjamin Tissoires

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).