summaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/magnetometer/hmc5843_i2c.c
diff options
context:
space:
mode:
authorCristina Opriceana <cristina.opriceana@gmail.com>2015-03-19 21:06:42 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-20 13:35:09 +0100
commit7079f21b660cc9ac2ce6d6005af3b2fd8638d61c (patch)
treebfda3f8ab56edc2b7bb17f2b6dccb3e7f20ca4c1 /drivers/staging/iio/magnetometer/hmc5843_i2c.c
parent9fb163f49ed3b3836f6835f06a5ef9afbabb9c24 (diff)
downloadop-kernel-dev-7079f21b660cc9ac2ce6d6005af3b2fd8638d61c.zip
op-kernel-dev-7079f21b660cc9ac2ce6d6005af3b2fd8638d61c.tar.gz
Staging: iio: Align function parameters to match first row
This patch improves coding style by aligning parameters in iio/magnetometer function calls, to remove the following warning: "CHECK: Alignment should match open parenthesis". Signed-off-by: Cristina Opriceana <cristina.opriceana@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/iio/magnetometer/hmc5843_i2c.c')
-rw-r--r--drivers/staging/iio/magnetometer/hmc5843_i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/magnetometer/hmc5843_i2c.c b/drivers/staging/iio/magnetometer/hmc5843_i2c.c
index 6acd614..8d090b4 100644
--- a/drivers/staging/iio/magnetometer/hmc5843_i2c.c
+++ b/drivers/staging/iio/magnetometer/hmc5843_i2c.c
@@ -57,7 +57,7 @@ static struct regmap_config hmc5843_i2c_regmap_config = {
};
static int hmc5843_i2c_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+ const struct i2c_device_id *id)
{
return hmc5843_common_probe(&client->dev,
devm_regmap_init_i2c(client, &hmc5843_i2c_regmap_config),
OpenPOWER on IntegriCloud