From: Gregor Boirie Date: Thu, 3 Mar 2016 10:44:04 +0000 (+0100) Subject: iio:magnetometer:ak8975: remove unused field X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d3546af67f4937075d0747adb3bf56d3c46b32f0;p=linux-beck.git iio:magnetometer:ak8975: remove unused field Remove unused struct ak8975_data attrs field. Signed-off-by: Gregor Boirie Signed-off-by: Jonathan Cameron --- 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];