Skip to content

Commit

Permalink
dts/gen_defines.py: Use err() instead of _err()
Browse files Browse the repository at this point in the history
_err comes from edtlib and we should be using err() inside of
gen_defines.py.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
  • Loading branch information
galak committed Aug 9, 2019
1 parent e98ea27 commit e328e56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/dts/gen_defines.py
Expand Up @@ -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))
Expand Down

0 comments on commit e328e56

Please sign in to comment.