svn commit: r308440 - head/sys/dev/extres/clk
Emmanuel Vadot
manu at FreeBSD.org
Tue Nov 8 10:05:12 UTC 2016
Author: manu
Date: Tue Nov 8 10:05:11 2016
New Revision: 308440
URL: https://svnweb.freebsd.org/changeset/base/308440
Log:
Do not warn if the 'assigned-clock-parents' property does not exists.
MFC after: 2 weeks
Modified:
head/sys/dev/extres/clk/clk.c
Modified: head/sys/dev/extres/clk/clk.c
==============================================================================
--- head/sys/dev/extres/clk/clk.c Tue Nov 8 09:54:11 2016 (r308439)
+++ head/sys/dev/extres/clk/clk.c Tue Nov 8 10:05:11 2016 (r308440)
@@ -1205,7 +1205,9 @@ clk_set_assigned(device_t dev, phandle_t
"assigned-clock-parents", "#clock-cells", &nclocks);
if (error != 0) {
- device_printf(dev, "cannot parse assigned-clock-parents property\n");
+ if (error != ENOENT)
+ device_printf(dev,
+ "cannot parse assigned-clock-parents property\n");
return (error);
}
More information about the svn-src-all
mailing list