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 <s...@chromium.org>
---

 scripts/checkpatch.pl           | 38 +++++++++++++++++++++++++++++++++
 tools/patman/test_checkpatch.py | 28 ++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

Applied to u-boot-dm/next, thanks!

Reply via email to