Re: [U-Boot] [PATCH 09/11] dtoc: Add a comment about string replace in conv_name_to_c()

2017-07-06 Thread sjg
This function uses several separate string replaces where a regular expression might seem more reasonable. Add a comment justifying the way it is currently done. Signed-off-by: Simon Glass --- tools/dtoc/dtb_platdata.py | 3 +++ 1 file changed, 3 insertions(+) Applied to u-boot-dm, thanks! App

Re: [U-Boot] [PATCH 09/11] dtoc: Add a comment about string replace in conv_name_to_c()

2017-07-06 Thread sjg
This function uses several separate string replaces where a regular expression might seem more reasonable. Add a comment justifying the way it is currently done. Signed-off-by: Simon Glass --- tools/dtoc/dtb_platdata.py | 3 +++ 1 file changed, 3 insertions(+) Applied to u-boot-dm, thanks! ___

[U-Boot] [PATCH 09/11] dtoc: Add a comment about string replace in conv_name_to_c()

2017-06-18 Thread Simon Glass
This function uses several separate string replaces where a regular expression might seem more reasonable. Add a comment justifying the way it is currently done. Signed-off-by: Simon Glass --- tools/dtoc/dtb_platdata.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/dtoc/dtb_platd