From patchwork Wed Jul 15 02:47:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Schulz X-Patchwork-Id: 11664067 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 73A081392 for ; Wed, 15 Jul 2020 02:48:04 +0000 (UTC) Received: by mail.kernel.org (Postfix) id 652C620674; Wed, 15 Jul 2020 02:48:04 +0000 (UTC) Delivered-To: soc@kernel.org Received: from ipmail03.adl2.internode.on.net (ipmail03.adl2.internode.on.net [150.101.137.141]) by mail.kernel.org (Postfix) with ESMTP id 7B9A920663 for ; Wed, 15 Jul 2020 02:48:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7B9A920663 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=mawsonlakes.org Authentication-Results: mail.kernel.org; spf=fail smtp.mailfrom=paul@mawsonlakes.org X-SMTP-MATCH: 0 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2BHBAA+bQ5f/5UxyQ5gHgEBCxIMR4E4C4NtX400hgmeGQsBPAECBAEBhEYEAoIKJTcGDgIQAQEGAQEBAQEGBIZUhh0LASMjMB+BAoMmgnyrJzOJSoEpgTiIA4IogmGCAIERgmJshQqFByIEj0eLTok3kFmcMjCfMwGyeYF7fUOCaVAZDY4qF440NDA3AgYIAQEDCVcBkAQBAQ Received: from 14-201-49-149.tpgi.com.au (HELO darkblue.lan) ([14.201.49.149]) by ipmail03.adl2.internode.on.net with ESMTP; 15 Jul 2020 12:18:00 +0930 From: paul@mawsonlakes.org To: linux-arm-kernel@lists.infradead.org List-Id: Cc: arnd@arndb.de, soc@kernel.org, linux@armlinux.org.uk, paul@mawsonlakes.org Subject: [PATCH] arm: Changes blacklist to quirklist in ecode.c file Date: Wed, 15 Jul 2020 12:17:55 +0930 Message-Id: <20200715024755.967904-1-paul@mawsonlakes.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 From: Paul Schulz (second attempt) This is a functionally trivial patch which removes the word 'blacklist' (and variations) from this code and replaces it with 'quirklist' It has no other effect. Signed-off-by: Paul Schulz --- arch/arm/mach-rpc/ecard.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/arm/mach-rpc/ecard.c b/arch/arm/mach-rpc/ecard.c index 75cfad2cb143..8b1ac2114e8b 100644 --- a/arch/arm/mach-rpc/ecard.c +++ b/arch/arm/mach-rpc/ecard.c @@ -63,7 +63,7 @@ struct ecard_request { struct completion *complete; }; -struct expcard_blacklist { +struct expcard_quirklist { unsigned short manufacturer; unsigned short product; const char *type; @@ -79,7 +79,7 @@ static void atomwide_3p_quirk(ecard_t *ec); /* List of descriptions of cards which don't have an extended * identification, or chunk directories containing a description. */ -static struct expcard_blacklist __initdata blacklist[] = { +static struct expcard_quirklist quirklist[] __initdata = { { MANU_ACORN, PROD_ACORN_ETHER1, "Acorn Ether1" }, { MANU_ATOMWIDE, PROD_ATOMWIDE_3PSERIAL, NULL, atomwide_3p_quirk }, }; @@ -935,13 +935,13 @@ static int __init ecard_probe(int slot, unsigned irq, card_type_t type) ec->fiqmask = 4; } - for (i = 0; i < ARRAY_SIZE(blacklist); i++) - if (blacklist[i].manufacturer == ec->cid.manufacturer && - blacklist[i].product == ec->cid.product) { - if (blacklist[i].type) - ec->card_desc = blacklist[i].type; - if (blacklist[i].init) - blacklist[i].init(ec); + for (i = 0; i < ARRAY_SIZE(quirklist); i++) + if (quirklist[i].manufacturer == ec->cid.manufacturer && + quirklist[i].product == ec->cid.product) { + if (quirklist[i].type) + ec->card_desc = quirklist[i].type; + if (quirklist[i].init) + quirklist[i].init(ec); break; }