Date: Tue, 8 Nov 2016 10:05:11 +0000 (UTC) From: Emmanuel Vadot <manu@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r308440 - head/sys/dev/extres/clk Message-ID: <201611081005.uA8A5Bso038633@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611081005.uA8A5Bso038633>