Commit f0c71126 authored by Jeff LaBundy's avatar Jeff LaBundy Committed by Lee Jones

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: default avatarJeff LaBundy <jeff@labundy.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 7ed645d5
......@@ -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",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment