summaryrefslogtreecommitdiffstats
path: root/drivers/iio/magnetometer/ak8975.c
diff options
context:
space:
mode:
authorGregor Boirie <gregor.boirie@parrot.com>2016-03-03 11:44:04 +0100
committerJonathan Cameron <jic23@kernel.org>2016-03-05 15:25:10 +0000
commitd3546af67f4937075d0747adb3bf56d3c46b32f0 (patch)
treede629c3269cdc4b57f266dea866221f3a337e615 /drivers/iio/magnetometer/ak8975.c
parent55c0c530f7113d98cb1a0d42f15b8abe5e4b6928 (diff)
downloadblackbird-op-linux-d3546af67f4937075d0747adb3bf56d3c46b32f0.tar.gz
blackbird-op-linux-d3546af67f4937075d0747adb3bf56d3c46b32f0.zip
iio:magnetometer:ak8975: remove unused field
Remove unused struct ak8975_data attrs field. Signed-off-by: Gregor Boirie <gregor.boirie@parrot.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/magnetometer/ak8975.c')
-rw-r--r--drivers/iio/magnetometer/ak8975.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/magnetometer/ak8975.c b/drivers/iio/magnetometer/ak8975.c
index 11059b2c39a4..896b13e39dae 100644
--- a/drivers/iio/magnetometer/ak8975.c
+++ b/drivers/iio/magnetometer/ak8975.c
@@ -361,7 +361,6 @@ static const struct ak_def ak_def_array[AK_MAX_TYPE] = {
struct ak8975_data {
struct i2c_client *client;
const struct ak_def *def;
- struct attribute_group attrs;
struct mutex lock;
u8 asa[3];
long raw_to_gauss[3];
OpenPOWER on IntegriCloud