Commit adc7b9b68dbd914199867327a0a6113492eda94b

Authored by Sachin Kamat
Committed by Linus Torvalds
1 parent 465008fa46

drivers/rtc/rtc-ds1374.c: fix spacing related issues

Fixes the following types of issues:

  ERROR: code indent should use tabs where possible
  WARNING: please, no spaces at the start of a line

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 1 changed file with 5 additions and 6 deletions Side-by-side Diff

drivers/rtc/rtc-ds1374.c
... ... @@ -65,7 +65,7 @@
65 65 static struct i2c_driver ds1374_driver;
66 66  
67 67 static int ds1374_read_rtc(struct i2c_client *client, u32 *time,
68   - int reg, int nbytes)
  68 + int reg, int nbytes)
69 69 {
70 70 u8 buf[4];
71 71 int ret;
... ... @@ -90,7 +90,7 @@
90 90 }
91 91  
92 92 static int ds1374_write_rtc(struct i2c_client *client, u32 time,
93   - int reg, int nbytes)
  93 + int reg, int nbytes)
94 94 {
95 95 u8 buf[4];
96 96 int i;
... ... @@ -119,8 +119,7 @@
119 119  
120 120 if (stat & DS1374_REG_SR_OSF)
121 121 dev_warn(&client->dev,
122   - "oscillator discontinuity flagged, "
123   - "time unreliable\n");
  122 + "oscillator discontinuity flagged, time unreliable\n");
124 123  
125 124 stat &= ~(DS1374_REG_SR_OSF | DS1374_REG_SR_AF);
126 125  
... ... @@ -363,7 +362,7 @@
363 362  
364 363 if (client->irq > 0) {
365 364 ret = devm_request_irq(&client->dev, client->irq, ds1374_irq, 0,
366   - "ds1374", client);
  365 + "ds1374", client);
367 366 if (ret) {
368 367 dev_err(&client->dev, "unable to request IRQ\n");
369 368 return ret;
... ... @@ -373,7 +372,7 @@
373 372 }
374 373  
375 374 ds1374->rtc = devm_rtc_device_register(&client->dev, client->name,
376   - &ds1374_rtc_ops, THIS_MODULE);
  375 + &ds1374_rtc_ops, THIS_MODULE);
377 376 if (IS_ERR(ds1374->rtc)) {
378 377 dev_err(&client->dev, "unable to register the class device\n");
379 378 return PTR_ERR(ds1374->rtc);