dts/gen_defines.py: Use err() instead of _err()

_err comes from edtlib and we should be using err() inside of
gen_defines.py.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2019-08-08 18:04:24 -05:00 committed by Kumar Gala
parent e98ea27cc1
commit e328e56b30
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ def write_bus(dev):
return
if dev.parent.label is None:
_err("missing 'label' property on {!r}".format(dev.parent))
err("missing 'label' property on {!r}".format(dev.parent))
# #define DT_<DEV-IDENT>_BUS_NAME <BUS-LABEL>
out_dev_s(dev, "BUS_NAME", str2ident(dev.parent.label))