Staging: iio: cdc: Remove unused macros
Subsystems (4)
PATCH 1/1 Staging: iio: cdc: Remove unused macros
Remove the macros since they are not used anywhere throughout the kernel.
--- drivers/staging/iio/cdc/ad7746.c | 7 ------- 1 file changed, 7 deletions(-)
drivers/staging/iio/cdc/ad7746.c +0 -7
@@ -27,11 +27,7 @@#define AD7746_REG_STATUS 0#define AD7746_REG_CAP_DATA_HIGH 1 -#define AD7746_REG_CAP_DATA_MID 2 -#define AD7746_REG_CAP_DATA_LOW 3#define AD7746_REG_VT_DATA_HIGH 4 -#define AD7746_REG_VT_DATA_MID 5 -#define AD7746_REG_VT_DATA_LOW 6#define AD7746_REG_CAP_SETUP 7#define AD7746_REG_VT_SETUP 8#define AD7746_REG_EXC_SETUP 9
@@ -39,11 +35,8 @@#define AD7746_REG_CAPDACA 11#define AD7746_REG_CAPDACB 12#define AD7746_REG_CAP_OFFH 13 -#define AD7746_REG_CAP_OFFL 14#define AD7746_REG_CAP_GAINH 15 -#define AD7746_REG_CAP_GAINL 16#define AD7746_REG_VOLT_GAINH 17 -#define AD7746_REG_VOLT_GAINL 18/* Status Register Bit Designations (AD7746_REG_STATUS) */ #define AD7746_STATUS_EXCERR BIT(3)
Signature · 1 line
2.1.4
Jonathan Cameron
maintainerQuoted 11 lines · Jonathan Cameron
Quoted 4 lines · Shraddha Barke
Remove the macros since they are not used anywhere throughout the kernel.
Signed-off-by Shraddha Barke <[email protected]>Hi Shraddha,
This should have been cc'd to linux-iio and Lars-Peter Clausen (who maintains all the Analog devices drivers).
It's straightforward, but worth checking that they are fine with this.
That would have worked better if I'd then remembered to CC them myself.
Sorry!
Quoted 36 lines
Jonathan
Quoted 33 lines
--- drivers/staging/iio/cdc/ad7746.c | 7 ------- 1 file changed, 7 deletions(-)drivers/staging/iio/cdc/ad7746.c +0
-7@@ -27,11 +27,7 @@#define AD7746_REG_STATUS 0#define AD7746_REG_CAP_DATA_HIGH 1 -#define AD7746_REG_CAP_DATA_MID 2 -#define AD7746_REG_CAP_DATA_LOW 3#define AD7746_REG_VT_DATA_HIGH 4 -#define AD7746_REG_VT_DATA_MID 5 -#define AD7746_REG_VT_DATA_LOW 6#define AD7746_REG_CAP_SETUP 7#define AD7746_REG_VT_SETUP 8#define AD7746_REG_EXC_SETUP 9@@ -39,11 +35,8 @@#define AD7746_REG_CAPDACA 11#define AD7746_REG_CAPDACB 12#define AD7746_REG_CAP_OFFH 13 -#define AD7746_REG_CAP_OFFL 14#define AD7746_REG_CAP_GAINH 15 -#define AD7746_REG_CAP_GAINL 16#define AD7746_REG_VOLT_GAINH 17 -#define AD7746_REG_VOLT_GAINL 18/* Status Register Bit Designations (AD7746_REG_STATUS) */ #define AD7746_STATUS_EXCERR BIT(3)
Jonathan Cameron
maintainerQuoted 8 lines · Jonathan Cameron
Quoted 7 lines · Jonathan Cameron
Quoted 4 lines · Shraddha Barke
Remove the macros since they are not used anywhere throughout the kernel.
Signed-off-by Shraddha Barke <[email protected]>Hi Shraddha,
Quoted 7 lines
Quoted 4 lines
This should have been cc'd to linux-iio and Lars-Peter Clausen (who maintains all the Analog devices drivers).
It's straightforward, but worth checking that they are fine with this.
That would have worked better if I'd then remembered to CC them myself.
Sorry!
Looks like Greg beat me to this one anyway.
Quoted 42 lines
Quoted 32 lines
Jonathan
Quoted 30 lines
--- drivers/staging/iio/cdc/ad7746.c | 7 ------- 1 file changed, 7 deletions(-)drivers/staging/iio/cdc/ad7746.c +0
-7@@ -27,11 +27,7 @@#define AD7746_REG_STATUS 0#define AD7746_REG_CAP_DATA_HIGH 1 -#define AD7746_REG_CAP_DATA_MID 2 -#define AD7746_REG_CAP_DATA_LOW 3#define AD7746_REG_VT_DATA_HIGH 4 -#define AD7746_REG_VT_DATA_MID 5 -#define AD7746_REG_VT_DATA_LOW 6#define AD7746_REG_CAP_SETUP 7#define AD7746_REG_VT_SETUP 8#define AD7746_REG_EXC_SETUP 9@@ -39,11 +35,8 @@#define AD7746_REG_CAPDACA 11#define AD7746_REG_CAPDACB 12#define AD7746_REG_CAP_OFFH 13 -#define AD7746_REG_CAP_OFFL 14#define AD7746_REG_CAP_GAINH 15 -#define AD7746_REG_CAP_GAINL 16#define AD7746_REG_VOLT_GAINH 17 -#define AD7746_REG_VOLT_GAINL 18Quoted 4 lines
drivers/staging/iio/cdc/ad7746.c line 42
Quoted 3 lines
drivers/staging/iio/cdc/ad7746.c +0
-0/* Status Register Bit Designations (AD7746_REG_STATUS) */ #define AD7746_STATUS_EXCERR BIT(3)--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html