diff options
| author | Ingo Molnar <mingo@kernel.org> | 2016-09-22 11:15:38 +0200 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2016-09-22 11:15:38 +0200 |
| commit | baad92e34458fc051735c769437ab33719ebb2ef (patch) | |
| tree | f301627afa3e951cc2f906da1546e5daca9355da /scripts/checkpatch.pl | |
| parent | f43ea76cf310c3be95cb75ae1350cbe76a8f2380 (diff) | |
| parent | 7d1e042314619115153a0f6f06e4552c09a50e13 (diff) | |
| download | linux-baad92e34458fc051735c769437ab33719ebb2ef.tar.gz linux-baad92e34458fc051735c769437ab33719ebb2ef.zip | |
Merge branch 'linus' into x86/platform, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'scripts/checkpatch.pl')
| -rwxr-xr-x | scripts/checkpatch.pl | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 4de3cc42fc50..206a6b346a8d 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -3570,15 +3570,6 @@ sub process { } } -# check for uses of DEFINE_PCI_DEVICE_TABLE - if ($line =~ /\bDEFINE_PCI_DEVICE_TABLE\s*\(\s*(\w+)\s*\)\s*=/) { - if (WARN("DEFINE_PCI_DEVICE_TABLE", - "Prefer struct pci_device_id over deprecated DEFINE_PCI_DEVICE_TABLE\n" . $herecurr) && - $fix) { - $fixed[$fixlinenr] =~ s/\b(?:static\s+|)DEFINE_PCI_DEVICE_TABLE\s*\(\s*(\w+)\s*\)\s*=\s*/static const struct pci_device_id $1\[\] = /; - } - } - # check for new typedefs, only function parameters and sparse annotations # make sense. if ($line =~ /\btypedef\s/ && |
