]> git.dujemihanovic.xyz Git - u-boot.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)
commitb7bbd553de0d9752f919dfc616f560f6f2504c14
tree5d29001be9accfb8029df9d9ed78fba196ee07b9
parent8a8d24bdf174851ebb8607f359d54b72e3283b97
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