[PATCH 2/7] Documentation: bindings: document the clocks for pxa3xx-nand
Robert Jarzmik
robert.jarzmik at free.fr
Wed Jun 3 12:12:28 PDT 2015
Antoine Tenart <antoine.tenart at free-electrons.com> writes:
> The pxa3xx nand driver requires at least one clock to probe correctly.
> A second one, named 'ecc' can be specified if needed. Add the
> corresponding documentation.
Is it mandatory, really ?
The code does :
info->clk = devm_clk_get(&pdev->dev, NULL);
if (IS_ERR(info->clk)) {
dev_err(&pdev->dev, "failed to get nand clock\n");
return PTR_ERR(info->clk);
}
info->clk can very well be NULL, can't it ?
Cheers.
--
Robert
More information about the linux-arm-kernel
mailing list