Commit aa6432f1 authored by Cristina Opriceana's avatar Cristina Opriceana Committed by Greg Kroah-Hartman

Staging: iio: Remove line over 80 characters

Rename variable in order to fix the 80 characters per line warning.
Found by checkpatch.pl
Signed-off-by: default avatarCristina Opriceana <cristina.opriceana@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ccc5fbe0
...@@ -56,11 +56,11 @@ static struct regmap_config hmc5843_i2c_regmap_config = { ...@@ -56,11 +56,11 @@ static struct regmap_config hmc5843_i2c_regmap_config = {
.cache_type = REGCACHE_RBTREE, .cache_type = REGCACHE_RBTREE,
}; };
static int hmc5843_i2c_probe(struct i2c_client *client, static int hmc5843_i2c_probe(struct i2c_client *cli,
const struct i2c_device_id *id) const struct i2c_device_id *id)
{ {
return hmc5843_common_probe(&client->dev, return hmc5843_common_probe(&cli->dev,
devm_regmap_init_i2c(client, &hmc5843_i2c_regmap_config), devm_regmap_init_i2c(cli, &hmc5843_i2c_regmap_config),
id->driver_data); id->driver_data);
} }
......
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