mfd: tps65090: remove redundant check
PATCH 1/1 mfd: tps65090: remove redundant check
Remove redundant check in is_volatile_reg().
Signed-off-by Venu Byravarasu <[email protected]>
--- drivers/mfd/tps65090.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mfd/tps65090.c +1 -1
@@ -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;
Signature · 1 line
1.7.1.1
Samuel Ortiz
AppliedHi Venu,
Quoted 6 lines · Venu Byravarasu
Remove redundant check in
is_volatile_reg().Signed-off-by Venu Byravarasu <[email protected]>--- drivers/mfd/tps65090.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Applied, thanks.
Cheers,
Samuel.
Signature · 2 lines
Intel Open Source Technology Centre http://oss.intel.com/