Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp4628928rwp; Sun, 16 Jul 2023 07:22:44 -0700 (PDT) X-Google-Smtp-Source: APBJJlEdvsnmcmLUUDzuOXvGtOXLSmkNbVRBoi9iAzXn+rlzFUNv8dbYNoRe45+LYGAt3EeSWi8B X-Received: by 2002:a05:6a20:7f90:b0:11e:7ced:3391 with SMTP id d16-20020a056a207f9000b0011e7ced3391mr12694417pzj.43.1689517364415; Sun, 16 Jul 2023 07:22:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689517364; cv=none; d=google.com; s=arc-20160816; b=UOx9+YuE15LEdz0Nn3L6+sCWWMaF/8AoTmAnUZ4Heslb+drgFJX9NMkBU0wAbuBdNk oXD4ri6w3NKpVo+O+EYpRX9P9g7j4Zf26uNWKkST+zc7lIo8rpRtXb/3tLdQp018CdV1 LKb3wzN4b0/KbR/QpVdkMIiuxtjygEHqhIFXWkWoyrQloaiheBMImeaMT8uXziTHUNd+ Q7/AoJ5+H3aQ0ByHtEuIjFafcV8gC+p0kSNK2Cc2tPZ7LXrI+ZIakGBoLdXCsDaVpTLM 4Y5D7dYfWe079j1wS1fqd/awQzb7Pb8VVnEG4VxziefcLNuKa6cyYtmFLpHGmQS7owHW cXSQ== 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 :message-id:date:subject:cc:to:from; bh=RGOmnbbn9Z5s2A3lXxomq17b9/vkVlhI5+ZV7Gkn2WI=; fh=dVfXhkbP60ZT4KVr26y6imwTSq8xUCJNaPCgpFL70HA=; b=ngepJUi/EI+1E1Bsdzrg6DqnhCbYByvycE844DpNG02eHVm/80eLss9RmHn1Saw4mo k1LbP+9YhhNYv9HKSCOwVgtUoZLeOi4gbi64HQ7TVsjQq8H7tXphfCMKX8wRnyZ9yAHP bM2yIjQCxrTcqiamlDQRI8xcQsQ8hd+r1MeP9NxNEuruN3oli6CMHEgAN972epUFv0XG RtJbmUpZWgKDmZbuYpZMhEU9WZsOo1Bd3xQh6J+WxNBkmr5PF+6R7RV6nPqUlxDdwg1k JIhWBJ0hatzl45vYGrR5G5NZd5fU+zfkzWUNa7n2HpQTXcMUMK50vt7ZcqkPBZBf1fXO jBbA== 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 j63-20020a638042000000b0055f11843b1csi4525202pgd.142.2023.07.16.07.22.19; Sun, 16 Jul 2023 07:22:44 -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 S230071AbjGPONY (ORCPT + 99 others); Sun, 16 Jul 2023 10:13:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229450AbjGPONX (ORCPT ); Sun, 16 Jul 2023 10:13:23 -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 3BB9EBA; Sun, 16 Jul 2023 07:13:22 -0700 (PDT) Received: from dslb-188-097-046-249.188.097.pools.vodafone-ip.de ([188.97.46.249] 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 1qL2Uw-0007lT-JM; Sun, 16 Jul 2023 16:13:18 +0200 From: Martin Kaiser To: Herbert Xu Cc: linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Martin Kaiser Subject: [PATCH] hwrng: arm-smccc-trng - don't set drvdata Date: Sun, 16 Jul 2023 16:11:12 +0200 Message-Id: <20230716141112.699543-1-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,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 Don't set drvdata, there's nobody who reads it. Signed-off-by: Martin Kaiser --- drivers/char/hw_random/arm_smccc_trng.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/char/hw_random/arm_smccc_trng.c b/drivers/char/hw_random/arm_smccc_trng.c index e34c3ea692b6..7e954341b09f 100644 --- a/drivers/char/hw_random/arm_smccc_trng.c +++ b/drivers/char/hw_random/arm_smccc_trng.c @@ -105,8 +105,6 @@ static int smccc_trng_probe(struct platform_device *pdev) trng->name = "smccc_trng"; trng->read = smccc_trng_read; - platform_set_drvdata(pdev, trng); - return devm_hwrng_register(&pdev->dev, trng); } -- 2.30.2