]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
staging:iio:ad799x: Remove unused ad799x_state fields
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 26 Mar 2013 18:42:00 +0000 (18:42 +0000)
committerJonathan Cameron <jic23@kernel.org>
Fri, 29 Mar 2013 09:16:45 +0000 (09:16 +0000)
Remove fields from the ad799x_state struct which are not used.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/adc/ad799x.h

index 3e363c4ba2117fe3fe24e1e375859282c1bd99aa..9f50f9302789e4a806107d7ec2f9896c518973a1 100644 (file)
@@ -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;
 };