From: Lars-Peter Clausen Date: Tue, 26 Mar 2013 18:42:00 +0000 (+0000) Subject: staging:iio:ad799x: Remove unused ad799x_state fields X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=226f4ab6e37c255196a61a3bc85fe95821bbd777;p=openwrt%2Fstaging%2Fblogic.git staging:iio:ad799x: Remove unused ad799x_state fields Remove fields from the ad799x_state struct which are not used. Signed-off-by: Lars-Peter Clausen Signed-off-by: Jonathan Cameron --- diff --git a/drivers/staging/iio/adc/ad799x.h b/drivers/staging/iio/adc/ad799x.h index 3e363c4ba211..9f50f9302789 100644 --- a/drivers/staging/iio/adc/ad799x.h +++ b/drivers/staging/iio/adc/ad799x.h @@ -104,11 +104,9 @@ struct ad799x_chip_info { struct ad799x_state { struct i2c_client *client; const struct ad799x_chip_info *chip_info; - struct iio_trigger *trig; struct regulator *reg; u16 int_vref_mv; unsigned id; - char *name; u16 config; };