diff mbox series

drivers/i2c: Removes 'blacklist' from file

Message ID 20200716022249.148043-1-paul@mawsonlakes.org
State New
Headers show
Series drivers/i2c: Removes 'blacklist' from file | expand

Commit Message

Paul Schulz July 16, 2020, 2:22 a.m. UTC
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@mawsonlakes.org>
---
 Documentation/i2c/busses/i2c-sis5595.rst | 2 +-
 drivers/i2c/busses/i2c-sis5595.c         | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

Comments

Jean Delvare July 16, 2020, 8:40 a.m. UTC | #1
Hi Paul,

On Thu, 16 Jul 2020 11:52:49 +0930, Paul Schulz wrote:
> 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@mawsonlakes.org>
> ---
>  Documentation/i2c/busses/i2c-sis5595.rst | 2 +-
>  drivers/i2c/busses/i2c-sis5595.c         | 8 ++++----
>  2 files changed, 5 insertions(+), 5 deletions(-)
> (...)

I see where you are getting with this, but no, thanks.
diff mbox series

Patch

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) {