From patchwork Mon Jun 23 20:30:15 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Tissoires X-Patchwork-Id: 4404391 Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D103DBEEAA for ; Mon, 23 Jun 2014 20:30:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 271F9202F2 for ; Mon, 23 Jun 2014 20:30:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 525B2202E5 for ; Mon, 23 Jun 2014 20:30:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755653AbaFWUaV (ORCPT ); Mon, 23 Jun 2014 16:30:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39436 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755495AbaFWUaU (ORCPT ); Mon, 23 Jun 2014 16:30:20 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s5NKUGds024160 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 23 Jun 2014 16:30:17 -0400 Received: from plouf.redhat.com (ovpn-113-38.phx2.redhat.com [10.3.113.38]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s5NKUF0p007155; Mon, 23 Jun 2014 16:30:15 -0400 From: Benjamin Tissoires To: Dmitry Torokhov , Ping Cheng , Jason Gerecke Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] Input - wacom: assign phys field from struct wacom into input_dev Date: Mon, 23 Jun 2014 16:30:15 -0400 Message-Id: <1403555415-547-1-git-send-email-benjamin.tissoires@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This field was not used for 9 years, it is time to assign it. Signed-off-by: Benjamin Tissoires --- 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;