diff options
author | Joe Perches <joe@perches.com> | 2011-04-23 23:38:19 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-04-26 04:24:37 -0400 |
commit | 85ee7a1d39d75d23d21f3871f6dc9b87d572747a (patch) | |
tree | 210097981b572bd3e204a48ad2f1d2ae18586311 /drivers/misc/bh1780gli.c | |
parent | 07f9479a40cc778bc1462ada11f95b01360ae4ff (diff) |
treewide: cleanup continuations and remove logging message whitespace
Using C line continuation inside format strings is error prone.
Clean up the unintended whitespace introduced by misuse of \.
Neaten correctly used line continations as well for consistency.
drivers/scsi/arcmsr/arcmsr_hba.c has these errors as well,
but arcmsr needs a lot more work and the driver should likely be
moved to staging instead.
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/misc/bh1780gli.c')
-rw-r--r-- | drivers/misc/bh1780gli.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/misc/bh1780gli.c b/drivers/misc/bh1780gli.c index d07cd67c951c..82fe2d067827 100644 --- a/drivers/misc/bh1780gli.c +++ b/drivers/misc/bh1780gli.c | |||
@@ -49,8 +49,8 @@ static int bh1780_write(struct bh1780_data *ddata, u8 reg, u8 val, char *msg) | |||
49 | int ret = i2c_smbus_write_byte_data(ddata->client, reg, val); | 49 | int ret = i2c_smbus_write_byte_data(ddata->client, reg, val); |
50 | if (ret < 0) | 50 | if (ret < 0) |
51 | dev_err(&ddata->client->dev, | 51 | dev_err(&ddata->client->dev, |
52 | "i2c_smbus_write_byte_data failed error %d\ | 52 | "i2c_smbus_write_byte_data failed error %d Register (%s)\n", |
53 | Register (%s)\n", ret, msg); | 53 | ret, msg); |
54 | return ret; | 54 | return ret; |
55 | } | 55 | } |
56 | 56 | ||
@@ -59,8 +59,8 @@ static int bh1780_read(struct bh1780_data *ddata, u8 reg, char *msg) | |||
59 | int ret = i2c_smbus_read_byte_data(ddata->client, reg); | 59 | int ret = i2c_smbus_read_byte_data(ddata->client, reg); |
60 | if (ret < 0) | 60 | if (ret < 0) |
61 | dev_err(&ddata->client->dev, | 61 | dev_err(&ddata->client->dev, |
62 | "i2c_smbus_read_byte_data failed error %d\ | 62 | "i2c_smbus_read_byte_data failed error %d Register (%s)\n", |
63 | Register (%s)\n", ret, msg); | 63 | ret, msg); |
64 | return ret; | 64 | return ret; |
65 | } | 65 | } |
66 | 66 | ||