On Thu, Aug 31, 2023 at 07:43:13PM +0800, Binbin Zhou wrote: > Now, "loongson,ls2k0500-pmc" is used as fallback compatible, so the > ls2k1000 compatible in the driver can be dropped directly. > > Signed-off-by: Binbin Zhou > --- > drivers/soc/loongson/loongson2_pm.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/soc/loongson/loongson2_pm.c b/drivers/soc/loongson/loongson2_pm.c > index 796add6e8b63..5ffb77afd9eb 100644 > --- a/drivers/soc/loongson/loongson2_pm.c > +++ b/drivers/soc/loongson/loongson2_pm.c > @@ -197,7 +197,6 @@ static int loongson2_pm_probe(struct platform_device *pdev) > > static const struct of_device_id loongson2_pm_match[] = { > { .compatible = "loongson,ls2k0500-pmc", }, > - { .compatible = "loongson,ls2k1000-pmc", }, What about older devicetrees that do not have the fallback? Aren't you going to remove support for those? > {}, > }; > > -- > 2.39.3 >