On 4/20/22 09:06, Alexander Shiyan wrote: > Since version 5.13, the standard syscon bindings have been added > to all clps711x DT nodes, so we can now use the more general > syscon_regmap_lookup_by_phandle function to get the syscon pointer. > > Signed-off-by: Alexander Shiyan <eagle.alexander923@xxxxxxxxx> applied. Thanks, Helge > --- > drivers/video/fbdev/clps711x-fb.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/video/fbdev/clps711x-fb.c b/drivers/video/fbdev/clps711x-fb.c > index c5d15c6db287..771ce1f76951 100644 > --- a/drivers/video/fbdev/clps711x-fb.c > +++ b/drivers/video/fbdev/clps711x-fb.c > @@ -268,8 +268,7 @@ static int clps711x_fb_probe(struct platform_device *pdev) > goto out_fb_release; > } > > - cfb->syscon = > - syscon_regmap_lookup_by_compatible("cirrus,ep7209-syscon1"); > + cfb->syscon = syscon_regmap_lookup_by_phandle(np, "syscon"); > if (IS_ERR(cfb->syscon)) { > ret = PTR_ERR(cfb->syscon); > goto out_fb_release;