checkpatch: Don't warn about PREFER_IF in headers/DT files
This warning should only be displayed for C files. Fix it and update the
test.
Signed-off-by: NSimon Glass <sjg@chromium.org>
Showing
想要评论请 注册 或 登录
This warning should only be displayed for C files. Fix it and update the
test.
Signed-off-by: NSimon Glass <sjg@chromium.org>