linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] misc: rtsx: clean up one inconsistent indenting
@ 2022-03-03  2:02 Yang Li
  0 siblings, 0 replies; only message in thread
From: Yang Li @ 2022-03-03  2:02 UTC (permalink / raw)
  To: arnd; +Cc: gregkh, linux-kernel, Yang Li, Abaci Robot

Eliminate the follow smatch warning:
drivers/misc/cardreader/rts5228.c:494 rts5228_extra_init_hw() warn:
inconsistent indenting

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 drivers/misc/cardreader/rts5228.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/misc/cardreader/rts5228.c b/drivers/misc/cardreader/rts5228.c
index af581f4f74d1..cfebad51d1d8 100644
--- a/drivers/misc/cardreader/rts5228.c
+++ b/drivers/misc/cardreader/rts5228.c
@@ -491,7 +491,7 @@ static int rts5228_extra_init_hw(struct rtsx_pcr *pcr)
 
 	if (pcr->rtd3_en) {
 		rtsx_pci_write_register(pcr, pcr->reg_pm_ctrl3, 0x01, 0x01);
-	rtsx_pci_write_register(pcr, RTS5228_REG_PME_FORCE_CTL,
+		rtsx_pci_write_register(pcr, RTS5228_REG_PME_FORCE_CTL,
 				FORCE_PM_CONTROL | FORCE_PM_VALUE,
 				FORCE_PM_CONTROL | FORCE_PM_VALUE);
 	} else {
-- 
2.20.1.7.g153144c


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-03  2:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-03  2:02 [PATCH -next] misc: rtsx: clean up one inconsistent indenting Yang Li

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).