]> git.baikalelectronics.ru Git - uboot.git/commit
checkpatch: Add warnings for unexpected struct names
authorSimon Glass <sjg@chromium.org>
Thu, 3 Dec 2020 23:55:24 +0000 (16:55 -0700)
committerSimon Glass <sjg@chromium.org>
Sun, 13 Dec 2020 23:51:09 +0000 (16:51 -0700)
commitaf940138d4f845028e9614e525a5e42a757aa276
tree5d29001be9accfb8029df9d9ed78fba196ee07b9
parent9055f7daa0852962493713e24e1a1c5a0d4039b1
checkpatch: Add warnings for unexpected struct names

As a way of keeping the driver declarations more consistent, add a warning
if the struct used does not end with _priv or _plat.

Signed-off-by: Simon Glass <sjg@chromium.org>
scripts/checkpatch.pl
tools/patman/test_checkpatch.py