cpuidle: riscv-sbi: Correct the compatible string
authormason.huo <mason.huo@starfivetech.com>
Thu, 27 Oct 2022 01:18:47 +0000 (09:18 +0800)
committermason.huo <mason.huo@starfivetech.com>
Thu, 27 Oct 2022 01:22:39 +0000 (09:22 +0800)
The riscv-sbi driver compatible string should not
changed to starfive since it's a common driver
for riscv.

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
drivers/cpuidle/cpuidle-riscv-sbi.c

index 936152b..b459eda 100644 (file)
@@ -195,7 +195,7 @@ static void sbi_idle_init_cpuhp(void)
 }
 
 static const struct of_device_id sbi_cpuidle_state_match[] = {
-       { .compatible = "starfive,jh7110-idle-state",
+       { .compatible = "riscv,idle-state",
          .data = sbi_cpuidle_enter_state },
        { },
 };