Skip to content

Commit

Permalink
mfd: tps65090: Remove redundant check
Browse files Browse the repository at this point in the history
Remove redundant check in is_volatile_reg().

Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
  • Loading branch information
Venu Byravarasu authored and Samuel Ortiz committed Sep 19, 2012
1 parent f2f218c commit 99de1cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mfd/tps65090.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 99de1cc

Please sign in to comment.