checkpatch: adapt shell script to the tool's new version
[fw/openocd] / tools / checkpatch.sh
1 #!/bin/sh
2 # SPDX-License-Identifier: GPL-2.0-or-later
3
4 since=${1:-HEAD^}
5 tools/scripts/checkpatch.pl --git ${since}..