pre-upload: Disable check for MAINTAINERS file in checkpatch

We do not require updates to the MAINTAINERS file, so suppress the
checkpatch.pl warning for it in cases where files are added or moved.

Do this globally for all checkpatch instances (otherwise, we would need
to update all the affected PRESUBMIT.cfg's in all repos.)

BUG=chromium:533701
TEST=Cherry-picked the patch in https://chromium-review.googlesource.com/#/c/300642/

  Changed its change-id and tried to repo upload it again.

  Before this commit, I got the warning:
    WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?

  With the updated script, I got no warnings and repo upload succeeded.

Change-Id: Iaa7ba07e76788be75947eaa66e93e52dc471e1a7
Signed-off-by: Filipe Brandenburger <filbranden@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/304571
Reviewed-by: Olof Johansson <olofj@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
1 file changed