diff options
author | Venu Byravarasu <vbyravarasu@nvidia.com> | 2012-09-17 05:30:47 (GMT) |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-09-19 10:44:47 (GMT) |
commit | 99de1cc5a77122e59640668b202280ecdb0f3c2e (patch) | |
tree | e1d9873b1f2d05ecaf9aae15aeeb9eadd526623f | |
parent | f2f218cdc3ef4fd46f4fcc8880d69207a1740181 (diff) | |
download | linux-fsl-qoriq-99de1cc5a77122e59640668b202280ecdb0f3c2e.tar.xz |
mfd: tps65090: Remove redundant check
Remove redundant check in is_volatile_reg().
Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
-rw-r--r-- | drivers/mfd/tps65090.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/tps65090.c b/drivers/mfd/tps65090.c index 50fd87c..074ae32 100644 --- a/drivers/mfd/tps65090.c +++ b/drivers/mfd/tps65090.c @@ -236,7 +236,7 @@ static int __devinit tps65090_irq_init(struct tps65090 *tps65090, int irq, static bool is_volatile_reg(struct device *dev, unsigned int reg) { - if ((reg == TPS65090_INT_STS) || (reg == TPS65090_INT_STS)) + if (reg == TPS65090_INT_STS) return true; else return false; |