public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jeff LaBundy <jeff@labundy.com>
To: lee.jones@linaro.org
Cc: linux-kernel@vger.kernel.org, Jeff LaBundy <jeff@labundy.com>
Subject: [PATCH v2 3/6] mfd: iqs62x: Rename regmap_config struct
Date: Sun, 17 Jan 2021 21:57:05 -0600	[thread overview]
Message-ID: <1610942228-7275-4-git-send-email-jeff@labundy.com> (raw)
In-Reply-To: <1610942228-7275-1-git-send-email-jeff@labundy.com>

The regmap member of the driver's private data is called 'regmap',
but the regmap_config struct is called 'iqs62x_map_config'. Rename
the latter to 'iqs62x_regmap_config' for consistency.

Signed-off-by: Jeff LaBundy <jeff@labundy.com>
Acked-for-MFD-by: Lee Jones <lee.jones@linaro.org>
---
Changes in v2:
  - Added Acked-for-MFD-by trailer

 drivers/mfd/iqs62x.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/mfd/iqs62x.c b/drivers/mfd/iqs62x.c
index ff968dc..7a1ff7c 100644
--- a/drivers/mfd/iqs62x.c
+++ b/drivers/mfd/iqs62x.c
@@ -866,7 +866,7 @@ static const struct iqs62x_dev_desc iqs62x_devs[] = {
 	},
 };

-static const struct regmap_config iqs62x_map_config = {
+static const struct regmap_config iqs62x_regmap_config = {
 	.reg_bits = 8,
 	.val_bits = 8,
 	.max_register = IQS62X_MAX_REG,
@@ -892,7 +892,7 @@ static int iqs62x_probe(struct i2c_client *client)
 	INIT_LIST_HEAD(&iqs62x->fw_blk_head);
 	init_completion(&iqs62x->fw_done);

-	iqs62x->regmap = devm_regmap_init_i2c(client, &iqs62x_map_config);
+	iqs62x->regmap = devm_regmap_init_i2c(client, &iqs62x_regmap_config);
 	if (IS_ERR(iqs62x->regmap)) {
 		ret = PTR_ERR(iqs62x->regmap);
 		dev_err(&client->dev, "Failed to initialize register map: %d\n",
--
2.7.4


  parent reply	other threads:[~2021-01-18  3:59 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-18  3:57 [PATCH v2 0/6] mfd: iqs62x: Minor cosmetic and functional improvements Jeff LaBundy
2021-01-18  3:57 ` [PATCH v2 1/6] mfd: iqs62x: Remove superfluous whitespace above fallthroughs Jeff LaBundy
2021-01-20  8:41   ` Lee Jones
2021-01-18  3:57 ` [PATCH v2 2/6] mfd: iqs62x: Remove unused bit mask Jeff LaBundy
2021-01-20  8:42   ` Lee Jones
2021-01-18  3:57 ` Jeff LaBundy [this message]
2021-01-20  8:43   ` [PATCH v2 3/6] mfd: iqs62x: Rename regmap_config struct Lee Jones
2021-01-18  3:57 ` [PATCH v2 4/6] mfd: iqs62x: Increase interrupt handler return delay Jeff LaBundy
2021-01-20  8:43   ` Lee Jones
2021-01-18  3:57 ` [PATCH v2 5/6] mfd: iqs62x: Do not poll during ATI Jeff LaBundy
2021-01-20  8:43   ` Lee Jones
2021-01-18  3:57 ` [PATCH v2 6/6] mfd: iqs62x: Do not change clock frequency " Jeff LaBundy
2021-01-20  8:48   ` Lee Jones

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=1610942228-7275-4-git-send-email-jeff@labundy.com \
    --to=jeff@labundy.com \
    --cc=lee.jones@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    /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