Skip to content

Commit

Permalink
staging:iio:magnetometer:ak8975 drop unused eoc_irq
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
  • Loading branch information
Jonathan Cameron committed Apr 2, 2013
1 parent 03b7f67 commit dea120e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/staging/iio/magnetometer/ak8975.c
Original file line number Diff line number Diff line change
Expand Up @@ -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[] = {
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit dea120e

Please sign in to comment.