Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 317211
b: refs/heads/master
c: 1079def
h: refs/heads/master
i:
  317209: 7de223f
  317207: 098af59
v: v3
  • Loading branch information
Shubhrajyoti D authored and Greg Kroah-Hartman committed Jun 5, 2012
1 parent b85d11e commit a4ee0ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: dbdc025bb239ce62c9b4d28c459a98f22ce9ec0a
refs/heads/master: 1079def493b55e7a69e6eefc6e026224e1d90e2a
6 changes: 3 additions & 3 deletions trunk/drivers/staging/iio/magnetometer/hmc5843.c
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ static const struct iio_info hmc5843_info = {
.driver_module = THIS_MODULE,
};

static int hmc5843_probe(struct i2c_client *client,
static int __devinit hmc5843_probe(struct i2c_client *client,
const struct i2c_device_id *id)
{
struct hmc5843_data *data;
Expand Down Expand Up @@ -704,7 +704,7 @@ static int hmc5843_probe(struct i2c_client *client,
return err;
}

static int hmc5843_remove(struct i2c_client *client)
static int __devexit hmc5843_remove(struct i2c_client *client)
{
struct iio_dev *indio_dev = i2c_get_clientdata(client);

Expand Down Expand Up @@ -755,7 +755,7 @@ static struct i2c_driver hmc5843_driver = {
},
.id_table = hmc5843_id,
.probe = hmc5843_probe,
.remove = hmc5843_remove,
.remove = __devexit_p(hmc5843_remove),
.detect = hmc5843_detect,
.address_list = normal_i2c,
};
Expand Down

0 comments on commit a4ee0ae

Please sign in to comment.