projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03b7f67
)
staging:iio:magnetometer:ak8975 drop unused eoc_irq
author
Jonathan Cameron
<jic23@kernel.org>
Sun, 24 Mar 2013 16:58:00 +0000
(16:58 +0000)
committer
Jonathan Cameron
<jic23@kernel.org>
Tue, 2 Apr 2013 17:35:57 +0000
(18:35 +0100)
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
drivers/staging/iio/magnetometer/ak8975.c
patch
|
blob
|
history
diff --git
a/drivers/staging/iio/magnetometer/ak8975.c
b/drivers/staging/iio/magnetometer/ak8975.c
index b614da1b21f85fb8eac04441b873add5601d382a..8726ea1de08379ec78f2873f4ad2bf5e1cad34b1 100644
(file)
--- 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;