diff options
Diffstat (limited to 'v4l_experimental/dpl3518.c')
-rw-r--r-- | v4l_experimental/dpl3518.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/v4l_experimental/dpl3518.c b/v4l_experimental/dpl3518.c index 5a730b7bd..c3442e35f 100644 --- a/v4l_experimental/dpl3518.c +++ b/v4l_experimental/dpl3518.c @@ -23,7 +23,7 @@ * USA. * * --- - * DOLBY and PRO LOGIC are trademarks of + * DOLBY and PRO LOGIC are trademarks of * Dolby Laboratories Licensing Corporation. */ @@ -243,7 +243,7 @@ static int dpl3518_attach(struct i2c_adapter *adap, int addr, client = kmalloc(sizeof *client,GFP_KERNEL); if (!client) - return -ENOMEM; + return -ENOMEM; memcpy(client,&client_template,sizeof(struct i2c_client)); client->adapter = adap; client->addr = addr; @@ -273,7 +273,7 @@ static int dpl3518_attach(struct i2c_adapter *adap, int addr, } static int dpl3518_probe(struct i2c_adapter *adap) -{ +{ return i2c_probe(adap, &addr_data, dpl3518_attach); } @@ -283,7 +283,7 @@ static int dpl3518_detach(struct i2c_client *client) dpl3518_reset(client); i2c_detach_client(client); - + dpl_device = NULL; kfree(dpl); kfree(client); @@ -371,7 +371,7 @@ static struct i2c_driver driver = { .detach_client = dpl3518_detach, }; -static struct i2c_client client_template = +static struct i2c_client client_template = { I2C_DEVNAME("dpl3518"), .id = -1, |