Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 306267
b: refs/heads/master
c: b151d9a
h: refs/heads/master
i:
  306265: 6f43b6c
  306263: 3ed3bd7
v: v3
  • Loading branch information
Andy Shevchenko authored and Mauro Carvalho Chehab committed May 8, 2012
1 parent 152cca8 commit fa83bf9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 31ed29f9812a9cb9a1c6d270ff4e19da60046da1
refs/heads/master: b151d9a231f18e329a5d0619c1c11117295ce031
10 changes: 5 additions & 5 deletions trunk/drivers/media/video/as3645a.c
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ static int as3645a_resume(struct device *dev)
* The number of LEDs reported in platform data is used to compute default
* limits. Parameters passed through platform data can override those limits.
*/
static int as3645a_init_controls(struct as3645a *flash)
static int __devinit as3645a_init_controls(struct as3645a *flash)
{
const struct as3645a_platform_data *pdata = flash->pdata;
struct v4l2_ctrl *ctrl;
Expand Down Expand Up @@ -804,8 +804,8 @@ static int as3645a_init_controls(struct as3645a *flash)
return flash->ctrls.error;
}

static int as3645a_probe(struct i2c_client *client,
const struct i2c_device_id *devid)
static int __devinit as3645a_probe(struct i2c_client *client,
const struct i2c_device_id *devid)
{
struct as3645a *flash;
int ret;
Expand Down Expand Up @@ -846,7 +846,7 @@ static int as3645a_probe(struct i2c_client *client,
return ret;
}

static int __exit as3645a_remove(struct i2c_client *client)
static int __devexit as3645a_remove(struct i2c_client *client)
{
struct v4l2_subdev *subdev = i2c_get_clientdata(client);
struct as3645a *flash = to_as3645a(subdev);
Expand Down Expand Up @@ -877,7 +877,7 @@ static struct i2c_driver as3645a_i2c_driver = {
.pm = &as3645a_pm_ops,
},
.probe = as3645a_probe,
.remove = __exit_p(as3645a_remove),
.remove = __devexit_p(as3645a_remove),
.id_table = as3645a_id_table,
};

Expand Down

0 comments on commit fa83bf9

Please sign in to comment.