Revert "scripts: gen_defines: tweak out_define() whitespace"

This reverts commit 3b7ddc83d1.

Reverted as the changes to gen_defines.py break things.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2020-03-12 12:54:39 -05:00 committed by Kumar Gala
commit b379e4547f

View file

@ -1139,7 +1139,7 @@ def out_define(ident, val, deprecation_msg, out_file):
# out() helper for writing a #define. See out() for the meaning of
# 'deprecation_msg'.
s = f"#define DT_{ident:60}"
s = f"#define DT_{ident:40}"
if deprecation_msg:
s += fr' __WARN("{deprecation_msg}")'
s += f" {val}"