OSDN Git Service

misc: rtsx: clean up one inconsistent indenting
authorYang Li <yang.lee@linux.alibaba.com>
Thu, 3 Mar 2022 02:02:06 +0000 (10:02 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Mar 2022 12:52:30 +0000 (13:52 +0100)
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>
Link: https://lore.kernel.org/r/20220303020206.98911-1-yang.lee@linux.alibaba.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/cardreader/rts5228.c

index af581f4..cfebad5 100644 (file)
@@ -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 {