diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-09-07 09:35:04 -0400 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-09-07 09:35:04 -0400 |
commit | 85c5204a677bc1053cb636590859c32fd0cf6bf9 (patch) | |
tree | 19731ab64f1e030419c42f656603b98540b4df4a /drivers/leds/leds-pca9532.c | |
parent | 74cbe20294c9f54a0926d19235395cf8e22b7830 (diff) |
leds: Fix leds-pca9532 whitespace issues
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com
Diffstat (limited to 'drivers/leds/leds-pca9532.c')
-rw-r--r-- | drivers/leds/leds-pca9532.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/leds/leds-pca9532.c b/drivers/leds/leds-pca9532.c index dba8921240f..708a8017c21 100644 --- a/drivers/leds/leds-pca9532.c +++ b/drivers/leds/leds-pca9532.c | |||
@@ -34,7 +34,7 @@ struct pca9532_data { | |||
34 | struct i2c_client *client; | 34 | struct i2c_client *client; |
35 | struct pca9532_led leds[16]; | 35 | struct pca9532_led leds[16]; |
36 | struct mutex update_lock; | 36 | struct mutex update_lock; |
37 | struct input_dev *idev; | 37 | struct input_dev *idev; |
38 | struct work_struct work; | 38 | struct work_struct work; |
39 | u8 pwm[2]; | 39 | u8 pwm[2]; |
40 | u8 psc[2]; | 40 | u8 psc[2]; |
@@ -53,9 +53,9 @@ MODULE_DEVICE_TABLE(i2c, pca9532_id); | |||
53 | 53 | ||
54 | static struct i2c_driver pca9532_driver = { | 54 | static struct i2c_driver pca9532_driver = { |
55 | .driver = { | 55 | .driver = { |
56 | .name = "pca9532", | 56 | .name = "pca9532", |
57 | }, | 57 | }, |
58 | .probe = pca9532_probe, | 58 | .probe = pca9532_probe, |
59 | .remove = pca9532_remove, | 59 | .remove = pca9532_remove, |
60 | .id_table = pca9532_id, | 60 | .id_table = pca9532_id, |
61 | }; | 61 | }; |
@@ -149,7 +149,7 @@ static int pca9532_set_blink(struct led_classdev *led_cdev, | |||
149 | 149 | ||
150 | if (*delay_on == 0 && *delay_off == 0) { | 150 | if (*delay_on == 0 && *delay_off == 0) { |
151 | /* led subsystem ask us for a blink rate */ | 151 | /* led subsystem ask us for a blink rate */ |
152 | *delay_on = 1000; | 152 | *delay_on = 1000; |
153 | *delay_off = 1000; | 153 | *delay_off = 1000; |
154 | } | 154 | } |
155 | if (*delay_on != *delay_off || *delay_on > 1690 || *delay_on < 6) | 155 | if (*delay_on != *delay_off || *delay_on > 1690 || *delay_on < 6) |
@@ -227,7 +227,7 @@ static int pca9532_configure(struct i2c_client *client, | |||
227 | break; | 227 | break; |
228 | case PCA9532_TYPE_LED: | 228 | case PCA9532_TYPE_LED: |
229 | led->state = pled->state; | 229 | led->state = pled->state; |
230 | led->name = pled->name; | 230 | led->name = pled->name; |
231 | led->ldev.name = led->name; | 231 | led->ldev.name = led->name; |
232 | led->ldev.brightness = LED_OFF; | 232 | led->ldev.brightness = LED_OFF; |
233 | led->ldev.brightness_set = pca9532_set_brightness; | 233 | led->ldev.brightness_set = pca9532_set_brightness; |
@@ -254,7 +254,7 @@ static int pca9532_configure(struct i2c_client *client, | |||
254 | data->idev->name = pled->name; | 254 | data->idev->name = pled->name; |
255 | data->idev->phys = "i2c/pca9532"; | 255 | data->idev->phys = "i2c/pca9532"; |
256 | data->idev->id.bustype = BUS_HOST; | 256 | data->idev->id.bustype = BUS_HOST; |
257 | data->idev->id.vendor = 0x001f; | 257 | data->idev->id.vendor = 0x001f; |
258 | data->idev->id.product = 0x0001; | 258 | data->idev->id.product = 0x0001; |
259 | data->idev->id.version = 0x0100; | 259 | data->idev->id.version = 0x0100; |
260 | data->idev->evbit[0] = BIT_MASK(EV_SND); | 260 | data->idev->evbit[0] = BIT_MASK(EV_SND); |