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);
}
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"