Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 249788
b: refs/heads/master
c: 6f3ca9e
h: refs/heads/master
v: v3
  • Loading branch information
Jonathan Cameron authored and Greg Kroah-Hartman committed May 19, 2011
1 parent 0d6fa28 commit ae71069
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 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: cda0b2af52b281f865501777df9e7a1ada64b313
refs/heads/master: 6f3ca9e3d614b1b448800bbfa27d518fa11d3b77
7 changes: 0 additions & 7 deletions trunk/drivers/staging/iio/adc/ad7314.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,11 @@
* Licensed under the GPL-2 or later.
*/

#include <linux/interrupt.h>
#include <linux/gpio.h>
#include <linux/workqueue.h>
#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/sysfs.h>
#include <linux/list.h>
#include <linux/spi/spi.h>
#include <linux/rtc.h>

#include "../iio.h"
#include "../sysfs.h"
Expand Down Expand Up @@ -262,8 +257,6 @@ static int __devexit ad7314_remove(struct spi_device *spi_dev)
struct iio_dev *indio_dev = chip->indio_dev;

dev_set_drvdata(&spi_dev->dev, NULL);
if (spi_dev->irq)
iio_unregister_interrupt_line(indio_dev, 0);
iio_device_unregister(indio_dev);
iio_free_device(chip->indio_dev);
kfree(chip);
Expand Down

0 comments on commit ae71069

Please sign in to comment.