Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp771203rwp; Thu, 13 Jul 2023 00:11:17 -0700 (PDT) X-Google-Smtp-Source: APBJJlFn6VinSVfP4TnpGyKgLJlDsU+oDcMPko/nN3XvrPeoPNqQ1c6Fvs415cwAeYo3cCeT8tqS X-Received: by 2002:a17:906:225c:b0:993:dd1d:8251 with SMTP id 28-20020a170906225c00b00993dd1d8251mr657980ejr.28.1689232277163; Thu, 13 Jul 2023 00:11:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689232277; cv=none; d=google.com; s=arc-20160816; b=qtutGwoQvvcugP3dIM4FyUlikcAQLcvnchGHtgG68KvCfvIuW8MGj0tWTmbV+DQLIP mgf5UKteqaJt7g6ZBiY/K/eL7nkvSMZFWinuIrUCoXuGGl1WCXq3P0v1RydTT9tgV/yn nIQmA8zrBA13uil3o9pTovSbgDCKqPJbGE6hveg2S72rgvUYT90lqyKk0BV7rANWQQDO TCoTsQRZbnSplLdlhHEx/7jgURA7YUaeQrWUDDCoCq6chypTyRDJqUsMH96W4rwV0BY9 omH9ihesOznQWy4lZb4JxUyQz2hiUhqT+H2TQt6di7JWZSULjzYlNTUOw/KVbSBW/oCy 8YSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=Wm4x8si5FXnRU4IMU0ueJyp6KzNdapIVUMnL6Zho1EM=; fh=E5JFeCCQh9Lu/4SbiHM0xXDZNRS+26I/orGAtH3zI6M=; b=bRe6Fc7TkfRSh1rQ7cyKnV568B7owenptXN5k+Qem4r8zBaGN/cEEM7rg+RTgBw5+V xYLBHbQs6NEJTUZ5ZkY67d6GmqSOXwVQslzfRzI9PrBV35hQUl40F/IhA4qvWIs+E41A ps50Za8r/c+9OdujwfueOG8v3Tb+5gdRooCy7rgKW/lpfoLmSu7X4xmWmBs4+ocAKFwL 9wyVRcvJzKBPS9bmGzmQlycs6B59nNlU3LWaFEWwn2LPMUjTOV6061/UULNyDwjO00ru clBSqD8xCLo54znlPHferBmv2fUgPmhmqdvdvlQGpm1FmYVdPfJlifReLgOz7yd0hEmc 5APg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t8-20020a17090616c800b00993692f6b87si6188365ejd.409.2023.07.13.00.10.50; Thu, 13 Jul 2023 00:11:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233970AbjGMHGs (ORCPT + 99 others); Thu, 13 Jul 2023 03:06:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233946AbjGMHGm (ORCPT ); Thu, 13 Jul 2023 03:06:42 -0400 Received: from viti.kaiser.cx (viti.kaiser.cx [IPv6:2a01:238:43fe:e600:cd0c:bd4a:7a3:8e9f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35B68E69; Thu, 13 Jul 2023 00:06:40 -0700 (PDT) Received: from 74.172.62.81.static.wline.lns.sme.cust.swisscom.ch ([81.62.172.74] helo=martin-debian-2.paytec.ch) by viti.kaiser.cx with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1qJqPL-0004KN-Rg; Thu, 13 Jul 2023 09:06:35 +0200 From: Martin Kaiser To: Herbert Xu Cc: olivier@sobrie.be, linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Martin Kaiser Subject: [PATCH 1/3] hwrng: ba431 - do not set drvdata Date: Thu, 13 Jul 2023 09:04:44 +0200 Message-Id: <20230713070446.230978-2-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230713070446.230978-1-martin@kaiser.cx> References: <20230713070446.230978-1-martin@kaiser.cx> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Do not set drvdata in the ba431 driver. Nobody is using it. Signed-off-by: Martin Kaiser --- drivers/char/hw_random/ba431-rng.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/char/hw_random/ba431-rng.c b/drivers/char/hw_random/ba431-rng.c index 5b7ca0416490..b1518dd52a24 100644 --- a/drivers/char/hw_random/ba431-rng.c +++ b/drivers/char/hw_random/ba431-rng.c @@ -189,8 +189,6 @@ static int ba431_trng_probe(struct platform_device *pdev) ba431->rng.cleanup = ba431_trng_cleanup; ba431->rng.read = ba431_trng_read; - platform_set_drvdata(pdev, ba431); - ret = devm_hwrng_register(&pdev->dev, &ba431->rng); if (ret) { dev_err(&pdev->dev, "BA431 registration failed (%d)\n", ret); -- 2.30.2