diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-07-28 11:39:02 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-07-28 11:39:02 -0300 |
commit | 51e081d10118c1d432f7aedc4cadd3776d56e700 (patch) | |
tree | 2e4881ef7f0983f3759cde0ec1cc788bf7e9671b /linux/drivers/media | |
parent | 9a373df780905ef4e981bae11edccba07d94e305 (diff) | |
download | mediapointer-dvb-s2-51e081d10118c1d432f7aedc4cadd3776d56e700.tar.gz mediapointer-dvb-s2-51e081d10118c1d432f7aedc4cadd3776d56e700.tar.bz2 |
ir-kbd-i2c: fix spaces
From: Douglas Schilling Landgraf <dougsland@redhat.com>
Fixed checkpath warnings
Priority: normal
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r-- | linux/drivers/media/video/ir-kbd-i2c.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/linux/drivers/media/video/ir-kbd-i2c.c b/linux/drivers/media/video/ir-kbd-i2c.c index cdf369129..fffe8239d 100644 --- a/linux/drivers/media/video/ir-kbd-i2c.c +++ b/linux/drivers/media/video/ir-kbd-i2c.c @@ -354,19 +354,19 @@ static struct i2c_driver driver = { .driver = { .name = "ir-kbd-i2c", }, - .id = I2C_DRIVERID_INFRARED, - .attach_adapter = ir_probe, - .detach_client = ir_detach, + .id = I2C_DRIVERID_INFRARED, + .attach_adapter = ir_probe, + .detach_client = ir_detach, }; - + static struct i2c_client client = { - .name = "unset", - .driver = &driver + .name = "unset", + .driver = &driver }; static int ir_attach(struct i2c_adapter *adap, int addr, - unsigned short flags, int kind) + unsigned short flags, int kind) #else static int ir_probe(struct i2c_client *client, const struct i2c_device_id *id) #endif @@ -492,7 +492,7 @@ static int ir_probe(struct i2c_client *client, const struct i2c_device_id *id) /* Sets name */ #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 30) - snprintf(ir->c.name, sizeof(ir->c.name), "i2c IR (%s)", name); + snprintf(ir->c.name, sizeof(ir->c.name), "i2c IR (%s)", name); #else snprintf(ir->name, sizeof(ir->name), "i2c IR (%s)", name); #endif |