From: Jonathan Cameron Date: Fri, 12 Aug 2011 15:55:32 +0000 (+0100) Subject: staging:iio:addac:adt7316 make interrupt mask sane. X-Git-Tag: MMI-PSA29.97-13-9~18234^2^2~864^2~255 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8df322385a7e253672dc5077c11dc1a6219d25cc;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git staging:iio:addac:adt7316 make interrupt mask sane. Coccinelle found this one. I'm not certain what the intent is, but this fix makes no functional changes. Signed-off-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/iio/addac/adt7316.c b/drivers/staging/iio/addac/adt7316.c index 637316f79f78..c828b6f0a281 100644 --- a/drivers/staging/iio/addac/adt7316.c +++ b/drivers/staging/iio/addac/adt7316.c @@ -203,7 +203,7 @@ struct adt7316_chip_info { #define ADT7316_TEMP_INT_MASK 0x1F #define ADT7516_AIN_INT_MASK 0xE0 #define ADT7316_TEMP_AIN_INT_MASK \ - (ADT7316_TEMP_INT_MASK | ADT7316_TEMP_INT_MASK) + (ADT7316_TEMP_INT_MASK) /* * struct adt7316_chip_info - chip specifc information