Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0e3a9806 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "scripts: checkpatch: Backport checkpatch from 3.14"

parents 047839ed d373559c
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -123,8 +123,10 @@ initialization with a pointer to a structure describing the driver


The ID table is an array of struct pci_device_id entries ending with an
all-zero entry; use of the macro DEFINE_PCI_DEVICE_TABLE is the preferred
method of declaring the table.  Each entry consists of:
all-zero entry.  Definitions with static const are generally preferred.
Use of the deprecated macro DEFINE_PCI_DEVICE_TABLE should be avoided.

Each entry consists of:

	vendor,device	Vendor and device ID to match (or PCI_ANY_ID)

+1 −2
Original line number Diff line number Diff line
@@ -609,8 +609,7 @@ struct pci_driver {
 * DEFINE_PCI_DEVICE_TABLE - macro used to describe a pci device table
 * @_table: device table name
 *
 * This macro is used to create a struct pci_device_id array (a device table)
 * in a generic manner.
 * This macro is deprecated and should not be used in new code.
 */
#define DEFINE_PCI_DEVICE_TABLE(_table) \
	const struct pci_device_id _table[]
+1045 −211

File changed.

Preview size limit exceeded, changes collapsed.