[PATCH] drivers/i2c: Removes 'blacklist' from file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This edit changes instances of 'blacklist' to 'blocklist'

This is a functionally trivial patch and has no other effect.

Signed-off-by: Paul Schulz <paul@xxxxxxxxxxxxxxx>
---
 Documentation/i2c/busses/i2c-sis5595.rst | 2 +-
 drivers/i2c/busses/i2c-sis5595.c         | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/Documentation/i2c/busses/i2c-sis5595.rst b/Documentation/i2c/busses/i2c-sis5595.rst
index b85630c84a96..a92ab4c3471b 100644
--- a/Documentation/i2c/busses/i2c-sis5595.rst
+++ b/Documentation/i2c/busses/i2c-sis5595.rst
@@ -21,7 +21,7 @@ Note: all have mfr. ID 0x1039.
 
    Note: these chips contain a 0008 device which is incompatible with the
          5595. We recognize these by the presence of the listed
-         "blacklist" PCI ID and refuse to load.
+         "blocklist" PCI ID and refuse to load.
 
    =============        ======          ================
    NOT SUPPORTED        PCI ID          BLACKLIST PCI ID
diff --git a/drivers/i2c/busses/i2c-sis5595.c b/drivers/i2c/busses/i2c-sis5595.c
index c793a5c14cda..1da2560b418d 100644
--- a/drivers/i2c/busses/i2c-sis5595.c
+++ b/drivers/i2c/busses/i2c-sis5595.c
@@ -14,9 +14,9 @@
 
    Note: these chips contain a 0008 device which is incompatible with the
          5595. We recognize these by the presence of the listed
-         "blacklist" PCI ID and refuse to load.
+	  "blocklist" PCI ID and refuse to load.
 
-   NOT SUPPORTED	PCI ID		BLACKLIST PCI ID	
+	NOT SUPPORTED	PCI ID		BLOCKLIST PCI ID
 	 540		0008		0540
 	 550		0008		0550
 	5513		0008		5511
@@ -51,7 +51,7 @@
 #include <linux/acpi.h>
 #include <linux/io.h>
 
-static int blacklist[] = {
+static int blocklist[] = {
 	PCI_DEVICE_ID_SI_540,
 	PCI_DEVICE_ID_SI_550,
 	PCI_DEVICE_ID_SI_630,
@@ -138,7 +138,7 @@ static int sis5595_setup(struct pci_dev *SIS5595_dev)
 	int retval;
 
 	/* Look for imposters */
-	for (i = blacklist; *i != 0; i++) {
+	for (i = blocklist; *i != 0; i++) {
 		struct pci_dev *dev;
 		dev = pci_get_device(PCI_VENDOR_ID_SI, *i, NULL);
 		if (dev) {
-- 
2.25.1




[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux