提交 99de1cc5 编写于 作者: V Venu Byravarasu 提交者: Samuel Ortiz

mfd: tps65090: Remove redundant check

Remove redundant check in is_volatile_reg().
Signed-off-by: NVenu Byravarasu <vbyravarasu@nvidia.com>
Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
上级 f2f218cd
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册