From patchwork Thu Oct 1 21:32:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Lendacky X-Patchwork-Id: 7311841 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: X-Original-To: patchwork-linux-crypto@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id A8E78BEEA4 for ; Thu, 1 Oct 2015 21:33:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D2D882065E for ; Thu, 1 Oct 2015 21:32:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D20962065B for ; Thu, 1 Oct 2015 21:32:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750879AbbJAVc6 (ORCPT ); Thu, 1 Oct 2015 17:32:58 -0400 Received: from mail-by2on0059.outbound.protection.outlook.com ([207.46.100.59]:6656 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750866AbbJAVc5 (ORCPT ); Thu, 1 Oct 2015 17:32:57 -0400 Received: from CY1PR12CA0037.namprd12.prod.outlook.com (10.160.137.47) by BN3PR1201MB1074.namprd12.prod.outlook.com (10.165.77.10) with Microsoft SMTP Server (TLS) id 15.1.280.20; Thu, 1 Oct 2015 21:32:54 +0000 Received: from DM3NAM03FT014.eop-NAM03.prod.protection.outlook.com (2a01:111:f400:7e49::206) by CY1PR12CA0037.outlook.office365.com (2a01:111:e400:4c1f::47) with Microsoft SMTP Server (TLS) id 15.1.286.20 via Frontend Transport; Thu, 1 Oct 2015 21:32:54 +0000 Authentication-Results: spf=none (sender IP is 165.204.84.222) smtp.mailfrom=amd.com; davemloft.net; dkim=none (message not signed) header.d=none; davemloft.net; dmarc=permerror action=none header.from=amd.com; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) Received: from atltwp02.amd.com (165.204.84.222) by DM3NAM03FT014.mail.protection.outlook.com (10.152.82.81) with Microsoft SMTP Server id 15.1.293.9 via Frontend Transport; Thu, 1 Oct 2015 21:32:53 +0000 X-WSS-ID: 0NVK96S-08-3DX-02 X-M-MSG: Received: from satlvexedge02.amd.com (satlvexedge02.amd.com [10.177.96.29]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by atltwp02.amd.com (Axway MailGate 5.3.1) with ESMTPS id 2A30EBD88FF; Thu, 1 Oct 2015 17:32:51 -0400 (EDT) Received: from SATLEXDAG03.amd.com (10.181.40.7) by SATLVEXEDGE02.amd.com (10.177.96.29) with Microsoft SMTP Server (TLS) id 14.3.195.1; Thu, 1 Oct 2015 16:33:17 -0500 Received: from tlendack-t1.amdoffice.net (10.180.168.240) by satlexdag03.amd.com (10.181.40.7) with Microsoft SMTP Server id 14.3.195.1; Thu, 1 Oct 2015 17:32:52 -0400 Subject: [PATCH v1 4/4] crypto: ccp - Use module name in driver structures From: Tom Lendacky To: CC: Herbert Xu , David Miller Date: Thu, 1 Oct 2015 16:32:50 -0500 Message-ID: <20151001213250.4286.93151.stgit@tlendack-t1.amdoffice.net> In-Reply-To: <20151001213225.4286.44278.stgit@tlendack-t1.amdoffice.net> References: <20151001213225.4286.44278.stgit@tlendack-t1.amdoffice.net> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:165.204.84.222; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(428002)(199003)(189002)(87936001)(105586002)(5003600100002)(4001540100001)(2950100001)(23676002)(19580395003)(53416004)(189998001)(101416001)(110136002)(83506001)(4001350100001)(46102003)(97736004)(5008740100001)(5007970100001)(5001830100001)(5001860100001)(19580405001)(76176999)(92566002)(64706001)(50466002)(11100500001)(68736005)(97746001)(33646002)(50986999)(86362001)(2351001)(47776003)(103116003)(77096005)(229853001)(106466001)(54356999)(62966003)(77156002)(71626007); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR1201MB1074; H:atltwp02.amd.com; FPR:; SPF:None; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN3PR1201MB1074; 2:G5rFkNSqUlGZgWpWtXfj9kW0Am5CbwJqBvf4ytzM4JHUmOeLAqNM0ca+MYqhW9cpFKOQCHHGRwE4qkSn3++kpNysEFN7VE4pFtISZ2EtQgJ+pZApXB4INTS1VenGLfprjC17gNQfLq0RONtsLJoV7K/roqcUeZMUyH5mBS4ftb0=; 3:Ov/tR2PQKxxWeGsfQHDLjDsqXknVUBBtU6/c2pW/jh71Em362JTyl8Ld0t4X5HnLqV+VU943zaP1m3l2HuSdKv69AP8OkOubpyYxLtNeg+aNEKs/Vb6NApF8Wg0TxJiVnOqNbEqDOlww9QsRW8mgHIw/dMqsh/40XCFw1jcJoHvilxnJT7GzmjWpybHejH2HITTJp2X1BqS4uzpRWzEjRaa/KWHPe2zYGwc1wyUh3cIQAIF9fSCP/GvM3lLPstTJ; 25:U9a18VblWTYINRF+wokwGgTVGNDOOaqdn6uxKt0mY83twIPAzkstkrpum1i5Rd+HZZot2QsOA3m3C1ySi6mMMiWv1zd09mBG3F/MtCjxUyZFMcuMA8213ZtCkHQf6d6Suwys3jdHykkgDQu2OStug0K+e8OCB86UM4dL3DF58qOLrJQld5O3Osx68SNl9aInItQUemFj6OIQ6BqB7SM/5uW/w1BKEjXepamwR7jAYhWZ8VvwybmnePwarNj5m/xWOQohrYg7uW+vsGVVraR8Kw== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR1201MB1074; X-Microsoft-Exchange-Diagnostics: 1; BN3PR1201MB1074; 20:rQWn2mgolM8hDLq4LKnmlxS46314nnVJgPyKSDNIOHieOHyVzazoJIYnw2na84+JgdIBAw6MgD2qnScCgcUwftGJECA8DzuJkuOgfv/M9bPjZxpYXr0emq3gzxvc69sszAinkceyA9LKnA4KgR6GUrw84KCRS6Rea6qeXuC+BLmffwUlJyNUQMxZhIjgI+qNKM+sq2SueJTLoz3abs3nyu1cCh1/3416MHSrV69cjFcDfDSrQqG2ieOlZ2L7MVBpsc9DJ8t5b8ONM0OM8RmkIA3f3maLsl/wyRRrEtlq16CtCYX2ndBsrq72bqS21UqfZ+UHKF1jQukyoTh5w+1cnrMOVLheLffX2mnyHxQ8B0xtyySDOIFOLXRyn8xvfhdAYZ4+aB9ZQnPk2cA3b8n/rB4z5hG1mWfRsPEifs0rG1gKkgZVQmR73aMfWIPIamDv+nq6yprXIAlwk/wHBm4uddYlXAVs8pKA3y7Gqv6zENkwddf5nlKFWYhsunO8oeVe; 4:8bjkOtQfpCcg6AYNbNeBrL+11MEQOWQALFHZiHse8nxra3UI9wmFCI/m7nS1heTp0/L/3+G5BdJm+f7dQ1ziYJUPPDPlBnxc/BB0p+a9cGngNA+c7Xr0XU6E8i6H2atKVoYSQhBV5Stj+w51ljYiFvGXA5BLTX0ljVjNDmPpNn8jJGN5inutR4mWz5z329w7iWhyxUSR3/YfytqjFIJtLPCYjEQsTB8LPucg1HMVWDPaMlii+mu9cdK1noKqRbQvMvaOHomQyHJZj5b9NHdDPt0sXJ0f95nETIl+u2Fh5Mfzw1yr6cGBM49kBvzu+PahcZiaKdq5kzRCsezr50JWLw/QKnQ/zbyqs4RH2tfIRok= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(520078)(8121501046)(3002001); SRVR:BN3PR1201MB1074; BCL:0; PCL:0; RULEID:; SRVR:BN3PR1201MB1074; X-Forefront-PRVS: 0716E70AB6 X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCTjNQUj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NVxNCtl97BLo4YL3YAl3iN+tXQhoBjxzSJ2yf1F+Zw3ZRp3JqgUBD26WIZA==; 24:Hp8jzH2ui8MEaX16C0cGHQ8QF4lgp5lvZ/Aqrj5g1CMD2FavnrL8C7QQbVxlAGfS3S489WT8alRw9uiSelfw5m1gMNzOZg5VuL2sMMpgwdA=; 20:r/74Y00txfUcz2aw4w4GstoYjQUJG8I1WPVM6WpFHPH2Rc20iJHeHcF3kWmJ0VQWuELHcAIJp24K9nfS+AbjVA== SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Oct 2015 21:32:53.9047 (UTC) X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.222]; Helo=[atltwp02.amd.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR1201MB1074 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The convention is to use the name of the module in the driver structures that are used for registering the device. The CCP module is currently using a descriptive name. Replace the descriptive name with module name. Signed-off-by: Tom Lendacky --- drivers/crypto/ccp/ccp-pci.c | 2 +- drivers/crypto/ccp/ccp-platform.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/crypto/ccp/ccp-pci.c b/drivers/crypto/ccp/ccp-pci.c index af190d4..6ade02f 100644 --- a/drivers/crypto/ccp/ccp-pci.c +++ b/drivers/crypto/ccp/ccp-pci.c @@ -319,7 +319,7 @@ static const struct pci_device_id ccp_pci_table[] = { MODULE_DEVICE_TABLE(pci, ccp_pci_table); static struct pci_driver ccp_pci_driver = { - .name = "AMD Cryptographic Coprocessor", + .name = "ccp", .id_table = ccp_pci_table, .probe = ccp_pci_probe, .remove = ccp_pci_remove, diff --git a/drivers/crypto/ccp/ccp-platform.c b/drivers/crypto/ccp/ccp-platform.c index 4bc73d4..8b923b7 100644 --- a/drivers/crypto/ccp/ccp-platform.c +++ b/drivers/crypto/ccp/ccp-platform.c @@ -225,7 +225,7 @@ MODULE_DEVICE_TABLE(of, ccp_of_match); static struct platform_driver ccp_platform_driver = { .driver = { - .name = "AMD Cryptographic Coprocessor", + .name = "ccp", #ifdef CONFIG_ACPI .acpi_match_table = ccp_acpi_match, #endif