Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 318025
b: refs/heads/master
c: d291d5f
h: refs/heads/master
i:
  318023: c17bc2d
v: v3
  • Loading branch information
Lars-Peter Clausen authored and Jonathan Cameron committed Jul 14, 2012
1 parent 2caf5de commit 73e35ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: 165d0c52fe87f8a95fcc01391432a659915bd332
refs/heads/master: d291d5f692f3fe90de08cea3f1c14ebd80da89ce
3 changes: 1 addition & 2 deletions trunk/drivers/staging/iio/light/tsl2x7x_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -2029,13 +2029,12 @@ static int tsl2x7x_resume(struct device *dev)
static int __devexit tsl2x7x_remove(struct i2c_client *client)
{
struct iio_dev *indio_dev = i2c_get_clientdata(client);
struct tsl2X7X_chip *chip = iio_priv(indio_dev);

tsl2x7x_chip_off(indio_dev);

iio_device_unregister(indio_dev);
if (client->irq)
free_irq(client->irq, chip->client->name);
free_irq(client->irq, indio_dev);

iio_device_free(indio_dev);

Expand Down

0 comments on commit 73e35ff

Please sign in to comment.