summaryrefslogtreecommitdiff
path: root/drivers/mfd
diff options
context:
space:
mode:
authorJeff LaBundy <jeff@labundy.com>2021-01-18 06:57:05 +0300
committerLee Jones <lee.jones@linaro.org>2021-02-08 16:54:33 +0300
commitf0c711266a540321a6099b05a3acb5385e81b53e (patch)
tree18e02a5455f806636cf6570dd0a9ded3ba805075 /drivers/mfd
parent7ed645d54e07f03ba75486e1932ebb10266629c5 (diff)
downloadlinux-f0c711266a540321a6099b05a3acb5385e81b53e.tar.xz
mfd: iqs62x: Rename regmap_config struct
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> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/iqs62x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mfd/iqs62x.c b/drivers/mfd/iqs62x.c
index ff968dca23bb..7a1ff7c78801 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",