Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Venu Byravarasu and committed by
Samuel Ortiz
99de1cc5 f2f218cd

+1 -1
+1 -1
drivers/mfd/tps65090.c
··· 236 236 237 237 static bool is_volatile_reg(struct device *dev, unsigned int reg) 238 238 { 239 - if ((reg == TPS65090_INT_STS) || (reg == TPS65090_INT_STS)) 239 + if (reg == TPS65090_INT_STS) 240 240 return true; 241 241 else 242 242 return false;