From patchwork Fri Dec 22 20:18:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Lamparter X-Patchwork-Id: 10131091 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A3E7D6038F for ; Fri, 22 Dec 2017 20:18:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 97AEF2A135 for ; Fri, 22 Dec 2017 20:18:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8AAB72A123; Fri, 22 Dec 2017 20:18:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1D0D72A123 for ; Fri, 22 Dec 2017 20:18:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756515AbdLVUSs (ORCPT ); Fri, 22 Dec 2017 15:18:48 -0500 Received: from mail-wr0-f195.google.com ([209.85.128.195]:45244 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756781AbdLVUSn (ORCPT ); Fri, 22 Dec 2017 15:18:43 -0500 Received: by mail-wr0-f195.google.com with SMTP id h1so28786394wre.12 for ; Fri, 22 Dec 2017 12:18:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:in-reply-to :references; bh=00gWGR1n7tiRKVwQynRBty08Xp/4Wj2eMILX/948ILQ=; b=Tio0EiXcUR4YTCuVR8G9rZ+lhhsrcOuCocQyU8/tScYnShmeNQFZnuuzFTxpK5PcBB 7r9QlSGy1thGwSAOn6Bx2/m3rmmViTs7/QAd8fzVuksb4WRxZwmAAZt063Qe2widXnz1 HCXdM9b7GWlPicw7kvYHPY6zasrpuUQtqAPhMaSU4ECwDVhmgfcy/vdUhnQ4b8wkizZW CmysHoIwSkUnzR2GQnJmwbaR6pciinCg9M9SRa0STebt+FkpHDx7mbUqZ5nwPYWujC58 8k/EPBTmW/Ak1Szr9Ie1SjxBqvAuFhYwsEoSLeDS4knEo/VjdjH+7Leedhg8MuiL77TX iIUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=00gWGR1n7tiRKVwQynRBty08Xp/4Wj2eMILX/948ILQ=; b=MSHP7vMsUZZaOmQFvqYuBLvWketyhtBJ/cQReY+U8s20RAsNdKmVKSlqIJl6kownKE 8QygWqPz35pCoF5pRQmm4JwuamQoiIg/Fm4eLbyUFWBKQuDXTwCuG79Ut+W9eX6+cGrp Q8d1a/Esrc1ruQNPbjAvFO4n4VwH/EWzm9uPTiOkPjGiEej6MSfQJqbdXiU3Szb9uCS/ nhMxBJCtNF448XR7QiZIA1kT/K8MCytYhBrlKipm5tx9JusR7wZ4I844ZaEdjVLaZdl3 CgMZOkeqgOJpXAkuQ/fylWVjeqKBozpKszd8zLNNp7J4Dn1OzRDzeC9tbSHYPk8xvaRv paiA== X-Gm-Message-State: AKGB3mKUUNgYLJ3rTmw9c9SWyW8s7B4j+yUzibNJdkA/fGe3iNgnd64e 9W0k9mfqvKquktSrbtvd7Ei++acb X-Google-Smtp-Source: ACJfBouGzMIrQKSN4iBWx9agepgeD1Gra41Za6L9tXgbsIBpKgWUnIb1Y4zM/7K3U2gUKpMRrtv7Tg== X-Received: by 10.223.164.202 with SMTP id h10mr11190342wrb.98.1513973922353; Fri, 22 Dec 2017 12:18:42 -0800 (PST) Received: from debian64.daheim (p5B0D71BC.dip0.t-ipconnect.de. [91.13.113.188]) by smtp.gmail.com with ESMTPSA id u194sm7408735wmd.6.2017.12.22.12.18.39 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 22 Dec 2017 12:18:40 -0800 (PST) Received: from chuck by debian64.daheim with local (Exim 4.90_RC4) (envelope-from ) id 1eSTmA-0005k9-Lz for linux-crypto@vger.kernel.org; Fri, 22 Dec 2017 21:18:38 +0100 From: Christian Lamparter To: linux-crypto@vger.kernel.org Subject: [PATCH v1 4/4] crypto: crypto4xx - kill MODULE_NAME Date: Fri, 22 Dec 2017 21:18:38 +0100 Message-Id: X-Mailer: git-send-email 2.15.1 In-Reply-To: <4baa099377d73ea99c7802a9685815b32e8bf119.1513908140.git.chunkeey@gmail.com> References: <4baa099377d73ea99c7802a9685815b32e8bf119.1513908140.git.chunkeey@gmail.com> In-Reply-To: <00179ef6e3c4e5db6258cd6e273e4063b8437d18.1513908140.git.chunkeey@gmail.com> References: <4baa099377d73ea99c7802a9685815b32e8bf119.1513908140.git.chunkeey@gmail.com> <1e932b627e79aa2c70e2c7278e4ac930303faa3f.1513908140.git.chunkeey@gmail.com> <00179ef6e3c4e5db6258cd6e273e4063b8437d18.1513908140.git.chunkeey@gmail.com> Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP KBUILD_MODNAME provides the same value. Signed-off-by: Christian Lamparter --- drivers/crypto/amcc/crypto4xx_core.c | 2 +- drivers/crypto/amcc/crypto4xx_core.h | 2 -- drivers/crypto/amcc/crypto4xx_trng.c | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/crypto/amcc/crypto4xx_core.c b/drivers/crypto/amcc/crypto4xx_core.c index 4b03318775ac..f148627e925c 100644 --- a/drivers/crypto/amcc/crypto4xx_core.c +++ b/drivers/crypto/amcc/crypto4xx_core.c @@ -1432,7 +1432,7 @@ MODULE_DEVICE_TABLE(of, crypto4xx_match); static struct platform_driver crypto4xx_driver = { .driver = { - .name = MODULE_NAME, + .name = KBUILD_MODNAME, .of_match_table = crypto4xx_match, }, .probe = crypto4xx_probe, diff --git a/drivers/crypto/amcc/crypto4xx_core.h b/drivers/crypto/amcc/crypto4xx_core.h index 61a02a4c5794..23b726da6534 100644 --- a/drivers/crypto/amcc/crypto4xx_core.h +++ b/drivers/crypto/amcc/crypto4xx_core.h @@ -28,8 +28,6 @@ #include "crypto4xx_reg_def.h" #include "crypto4xx_sa.h" -#define MODULE_NAME "crypto4xx" - #define PPC460SX_SDR0_SRST 0x201 #define PPC405EX_SDR0_SRST 0x200 #define PPC460EX_SDR0_SRST 0x201 diff --git a/drivers/crypto/amcc/crypto4xx_trng.c b/drivers/crypto/amcc/crypto4xx_trng.c index 677ca17fd223..5e63742b0d22 100644 --- a/drivers/crypto/amcc/crypto4xx_trng.c +++ b/drivers/crypto/amcc/crypto4xx_trng.c @@ -92,7 +92,7 @@ void ppc4xx_trng_probe(struct crypto4xx_core_device *core_dev) if (!rng) goto err_out; - rng->name = MODULE_NAME; + rng->name = KBUILD_MODNAME; rng->data_present = ppc4xx_trng_data_present; rng->data_read = ppc4xx_trng_data_read; rng->priv = (unsigned long) dev;