Staging: iio: Remove line over 80 characters
authorCristina Opriceana <cristina.opriceana@gmail.com>
Thu, 19 Mar 2015 19:07:51 +0000 (21:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Mar 2015 12:35:52 +0000 (13:35 +0100)
Rename variable in order to fix the 80 characters per line warning.
Found by checkpatch.pl

Signed-off-by: Cristina Opriceana <cristina.opriceana@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/magnetometer/hmc5843_i2c.c

index 8d090b47286b3566b2f14c4a5619e136eae892e6..6b4c74236916fd5729efb2e6f4b1a4e99ca6ce1a 100644 (file)
@@ -56,11 +56,11 @@ static struct regmap_config hmc5843_i2c_regmap_config = {
                .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)
 {
-       return hmc5843_common_probe(&client->dev,
-                       devm_regmap_init_i2c(client, &hmc5843_i2c_regmap_config),
+       return hmc5843_common_probe(&cli->dev,
+                       devm_regmap_init_i2c(cli, &hmc5843_i2c_regmap_config),
                        id->driver_data);
 }