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:
parent
e98ea27cc1
commit
e328e56b30
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue