]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
iio:magnetometer:ak8975: remove unused field
authorGregor Boirie <gregor.boirie@parrot.com>
Thu, 3 Mar 2016 10:44:04 +0000 (11:44 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 5 Mar 2016 15:25:10 +0000 (15:25 +0000)
Remove unused struct ak8975_data attrs field.

Signed-off-by: Gregor Boirie <gregor.boirie@parrot.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/magnetometer/ak8975.c

index 11059b2c39a413e27cc39790aed0aae243dc2cbf..896b13e39daedd61b6d8acbad6d2873df2473cd3 100644 (file)
@@ -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];