Hi Sergey, thanks for your patch! On Fri, Mar 6, 2020 at 2:25 PM <Sergey.Semin@xxxxxxxxxxxxxxxxxxxx> wrote: > /* Optional bus clock */ > - gpio->clk = devm_clk_get(&pdev->dev, "bus"); > - if (!IS_ERR(gpio->clk)) { > - err = clk_prepare_enable(gpio->clk); > - if (err) { > - dev_info(&pdev->dev, "Cannot enable clock\n"); > - return err; > - } > + gpio->clk = devm_clk_get_optional(&pdev->dev, "bus"); > + if (IS_ERR(gpio->clk)) { > + dev_info(&pdev->dev, "Cannot get APB clock\n"); Turn this into dev_err() while you're at it. > + err = clk_prepare_enable(gpio->clk); > + if (err) { > + dev_info(&pdev->dev, "Cannot enable APB clock\n"); Also this. With those changes: Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx> Yours, Linus Walleij