* [PATCH] drivers/i2c: Removes 'blacklist' from file
@ 2020-07-16 2:22 Paul Schulz
2020-07-16 8:40 ` Jean Delvare
0 siblings, 1 reply; 2+ messages in thread
From: Paul Schulz @ 2020-07-16 2:22 UTC (permalink / raw)
To: Jean Delvare; +Cc: Paul Schulz, linux-i2c
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(-)
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] drivers/i2c: Removes 'blacklist' from file
2020-07-16 2:22 [PATCH] drivers/i2c: Removes 'blacklist' from file Paul Schulz
@ 2020-07-16 8:40 ` Jean Delvare
0 siblings, 0 replies; 2+ messages in thread
From: Jean Delvare @ 2020-07-16 8:40 UTC (permalink / raw)
To: Paul Schulz; +Cc: linux-i2c
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.
--
Jean Delvare
SUSE L3 Support
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-07-16 8:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-16 2:22 [PATCH] drivers/i2c: Removes 'blacklist' from file Paul Schulz
2020-07-16 8:40 ` Jean Delvare
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).