From 51e081d10118c1d432f7aedc4cadd3776d56e700 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Tue, 28 Jul 2009 11:39:02 -0300 Subject: ir-kbd-i2c: fix spaces From: Douglas Schilling Landgraf Fixed checkpath warnings Priority: normal Signed-off-by: Douglas Schilling Landgraf Signed-off-by: Mauro Carvalho Chehab --- linux/drivers/media/video/ir-kbd-i2c.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'linux/drivers/media') 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 -- cgit v1.2.3