diff options
author | Jonathan Cameron <jic23@kernel.org> | 2013-03-24 16:58:00 +0000 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-04-02 18:35:57 +0100 |
commit | dea120e665712a9be41a6c846e73c6af19e00af7 (patch) | |
tree | f826aed4a08f95cae85227f5ab210195f918c25b /drivers | |
parent | 03b7f67bd1a085572539788d07c4630489108a35 (diff) | |
download | linux-dea120e665712a9be41a6c846e73c6af19e00af7.tar.gz linux-dea120e665712a9be41a6c846e73c6af19e00af7.tar.bz2 linux-dea120e665712a9be41a6c846e73c6af19e00af7.zip |
staging:iio:magnetometer:ak8975 drop unused eoc_irq
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/iio/magnetometer/ak8975.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/iio/magnetometer/ak8975.c b/drivers/staging/iio/magnetometer/ak8975.c index b614da1b21f8..8726ea1de083 100644 --- a/drivers/staging/iio/magnetometer/ak8975.c +++ b/drivers/staging/iio/magnetometer/ak8975.c @@ -94,7 +94,6 @@ struct ak8975_data { long raw_to_gauss[3]; u8 reg_cache[AK8975_MAX_REGS]; int eoc_gpio; - int eoc_irq; }; static const int ak8975_index_to_reg[] = { @@ -452,7 +451,6 @@ static int ak8975_probe(struct i2c_client *client, data->client = client; mutex_init(&data->lock); - data->eoc_irq = client->irq; data->eoc_gpio = eoc_gpio; indio_dev->dev.parent = &client->dev; indio_dev->channels = ak8975_channels; |