* [PATCH] mfd: tps65090: remove redundant check
@ 2012-09-17 5:30 Venu Byravarasu
2012-09-19 11:26 ` Samuel Ortiz
0 siblings, 1 reply; 2+ messages in thread
From: Venu Byravarasu @ 2012-09-17 5:30 UTC (permalink / raw)
To: sameo, fengguang.wu; +Cc: linux-kernel, Venu Byravarasu
Remove redundant check in is_volatile_reg().
Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com>
---
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;
--
1.7.1.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mfd: tps65090: remove redundant check
2012-09-17 5:30 [PATCH] mfd: tps65090: remove redundant check Venu Byravarasu
@ 2012-09-19 11:26 ` Samuel Ortiz
0 siblings, 0 replies; 2+ messages in thread
From: Samuel Ortiz @ 2012-09-19 11:26 UTC (permalink / raw)
To: Venu Byravarasu; +Cc: fengguang.wu, linux-kernel
Hi Venu,
On Mon, Sep 17, 2012 at 11:00:47AM +0530, Venu Byravarasu wrote:
> Remove redundant check in is_volatile_reg().
>
> Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com>
> ---
> drivers/mfd/tps65090.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
Applied, thanks.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-09-19 11:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-17 5:30 [PATCH] mfd: tps65090: remove redundant check Venu Byravarasu
2012-09-19 11:26 ` Samuel Ortiz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).