From patchwork Thu Jul 13 07:04:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kaiser X-Patchwork-Id: 119576 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp1642411vqm; Thu, 13 Jul 2023 00:11:45 -0700 (PDT) X-Google-Smtp-Source: APBJJlGsDXVHuS+G/ryslcaRbHS2zVvt9Wm72pRTJn5h/ak6lE4MV3LqEtQIAbKgJhqughIfPsXW X-Received: by 2002:a17:906:11:b0:992:6d73:568e with SMTP id 17-20020a170906001100b009926d73568emr489374eja.68.1689232304849; Thu, 13 Jul 2023 00:11:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689232304; cv=none; d=google.com; s=arc-20160816; b=mzrdMdflWllAeXY8airy1ECYjHvKx9dkD+uTheoSmhUr3oosfKMelQayyo3khuWUxI 0vg8ACOm8GY76jf6KJyhOgWwk4+0Q6inyu7cdQQJ8cciefWSw5eufd8shUMoLMZQLn4M KnzodBhL3MjgIQVg8ezBFXmk8kGRJiGQjt1Dr841hcqCDV3go95dBdWgi3yzhmXJ2pKs 8y8nwiSyTlE4Tpzm2sSpg7KTFsJMJAAcHQjC2Q+/+v8ycBNSfstprnd/Eq7qNR0Zl2Bk 7E0AIz/nT4j9x+xIyZUG3Ayj/cRZbV12X+zNRhrd6600gt1BSqrPKFsi/aQRXOnd+o15 ZVpw== 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=ZY9B/l9IDU6Xl6m44zRZke/xNYurHb0xHdzEYGZIzdQ=; fh=E5JFeCCQh9Lu/4SbiHM0xXDZNRS+26I/orGAtH3zI6M=; b=Qa/sEN3S7rffpM5BX/Xi37PvQQpScAB1KACcVrEvi2tl6oqVSmWKw7fkmwPagtSuPG d1Cxqeym/mDIhBxxvSZnW6u1NEgKES+Vf+tOnWvBBCIPJSP5HRqJRi4RPfnqCCUxImtc Tc5CEJKVKzw/QsMOKGpBkYkEZyPnOoEwjoHloFAaRPWj5eBtt82LCp3egq01+cJ0l1fv PoGBs2oS/e4ckdK6fovGFxkst3gx2bknFgqNATUuETAhHytCMewqRjx+vpKqnH/JypsZ kg4DEGTh9vRcW1RXuzUuvEWLXbFWov9NXfMayrhy0Xpnn7U768iCU165tPj57Eech0Bi onMw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o5-20020a170906358500b0098aa2c4209esi7074809ejb.424.2023.07.13.00.11.20; Thu, 13 Jul 2023 00:11:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234124AbjGMHGy (ORCPT + 99 others); Thu, 13 Jul 2023 03:06:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233998AbjGMHGm (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 35E17199D; 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 1qJqPM-0004KN-Kp; Thu, 13 Jul 2023 09:06:36 +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 2/3] hwrng: ba431 - don't init of_device_id's data Date: Thu, 13 Jul 2023 09:04:45 +0200 Message-Id: <20230713070446.230978-3-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 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-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771288453459374813 X-GMAIL-MSGID: 1771288453459374813 We have no device-specific data for silex-insight,ba431-rng. There's no need to set .data = NULL, this is the default. Signed-off-by: Martin Kaiser --- drivers/char/hw_random/ba431-rng.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/hw_random/ba431-rng.c b/drivers/char/hw_random/ba431-rng.c index b1518dd52a24..d2a9d16323a6 100644 --- a/drivers/char/hw_random/ba431-rng.c +++ b/drivers/char/hw_random/ba431-rng.c @@ -201,7 +201,7 @@ static int ba431_trng_probe(struct platform_device *pdev) } static const struct of_device_id ba431_trng_dt_ids[] = { - { .compatible = "silex-insight,ba431-rng", .data = NULL }, + { .compatible = "silex-insight,ba431-rng" }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, ba431_trng_dt_ids);