On Tue, Feb 20, 2018 at 12:59 AM, Moritz Fischer <m...@kernel.org> wrote: > Add support for reading a timeout value from devicetree. > Fall back to previous default of 3s if nothing is specified.
> + of_property_read_u32(pdev->dev.of_node, "timeout_ms", &timeout); Perhaps stop being OF-centric by using device_property_read_u32() instead? -- With Best Regards, Andy Shevchenko