From: Vincent Huang <vincent.huang@tw.synaptics.com>
To: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: Vincent Huang <vincent.huang@tw.synaptics.com>,
Dmitry Torokhov <dmitry.torokhov@gmail.com>,
Jiri Kosina <jikos@kernel.org>,
Andrew Duggan <aduggan@synaptics.com>,
Hans de Goede <hdegoede@redhat.com>,
Benjamin Tissoires <btissoir@redhat.com>,
Lyude Paul <lyude@redhat.com>,
Chris Heiny <chris.heiny@synaptics.com>
Subject: [PATCH 2/3] HID: rmi - rename f30_data to gpio_data
Date: Thu, 24 Sep 2020 17:46:27 +0800 [thread overview]
Message-ID: <20200924094628.1085000-3-vincent.huang@tw.synaptics.com> (raw)
In-Reply-To: <20200924094628.1085000-1-vincent.huang@tw.synaptics.com>
f30_data in rmi_device_platform_data could be also referenced by RMI
function 3A, so rename it and the structure name to avoid confusion.
Signed-off-by: Vincent Huang <vincent.huang@tw.synaptics.com>
---
drivers/hid/hid-rmi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/hid/hid-rmi.c b/drivers/hid/hid-rmi.c
index 9ce22acdfaca..62315e31d520 100644
--- a/drivers/hid/hid-rmi.c
+++ b/drivers/hid/hid-rmi.c
@@ -722,7 +722,7 @@ static int rmi_probe(struct hid_device *hdev, const struct hid_device_id *id)
}
if (data->device_flags & RMI_DEVICE_HAS_PHYS_BUTTONS)
- rmi_hid_pdata.f30_data.disable = true;
+ rmi_hid_pdata.gpio_data.disable = true;
data->xport.dev = hdev->dev.parent;
data->xport.pdata = rmi_hid_pdata;
--
2.25.1
next prev parent reply other threads:[~2020-09-24 9:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-24 9:46 [PATCH 0/3] Add support for F3A Vincent Huang
2020-09-24 9:46 ` [PATCH 1/3] Input: synaptics-rmi4 - rename f30_data to gpio_data Vincent Huang
2020-09-24 9:46 ` Vincent Huang [this message]
2020-09-24 14:52 ` [PATCH 2/3] HID: rmi " Jiri Kosina
2020-09-24 9:46 ` [PATCH 3/3] Input: synaptics-rmi4 - add support for F3A Vincent Huang
2020-09-27 11:12 ` [PATCH 0/3] Add " Hans de Goede
2020-09-29 13:45 ` Jiri Kosina
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200924094628.1085000-3-vincent.huang@tw.synaptics.com \
--to=vincent.huang@tw.synaptics.com \
--cc=aduggan@synaptics.com \
--cc=btissoir@redhat.com \
--cc=chris.heiny@synaptics.com \
--cc=dmitry.torokhov@gmail.com \
--cc=hdegoede@redhat.com \
--cc=jikos@kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lyude@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®