Skip to content

Commit f0c7112

Browse files
jlabundyLee Jones
authored andcommitted
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>
1 parent 7ed645d commit f0c7112

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/mfd/iqs62x.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@ static const struct iqs62x_dev_desc iqs62x_devs[] = {
866866
},
867867
};
868868

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

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

0 commit comments

Comments
 (0)