From patchwork Fri May 19 16:11:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kaiser X-Patchwork-Id: 96487 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1353577vqo; Fri, 19 May 2023 09:17:32 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5u/ShjEqfzW030l1Ql3Y8PkFWg2ObtMXqqYCsJkiJuBu0c9vMbgG1XnZ5oljzoPoPOxXA5 X-Received: by 2002:a05:6a20:7485:b0:102:3f67:dbe1 with SMTP id p5-20020a056a20748500b001023f67dbe1mr2918408pzd.4.1684513052470; Fri, 19 May 2023 09:17:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684513052; cv=none; d=google.com; s=arc-20160816; b=fk68GAlamFMlua4Vbc8t9DQB0lqTMrMKJfET30T25D1rmbJtYK/E5bJzR+PHzVNyjm bO+98kOyxKpKTwTBbJkc6EHYm7emrlZehe6p98wnxk4Lk7lNCG7AMkuq+5ypYugDC5Hh ezLDwHAbIFpOBQ/0Sh23kuK7qOHe54da47qHF5QZ4Fg6ypmv5OO6+J5W4ypZ9l/aSpgT VkX+LwC4Xeuj4fRR9IItY+ka5PNIdBxVHaEUllX/2dk3sxvxBLy0216Q0fHj6WO7TTog MdN82YS52pho0iVa2JSIO9WQ2AnQwCDu9iNdjmvOgT05Hy2Vq0h/ypODbL2lzJdcardW 8m9g== 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=JSEpi7wndRANtudvt5t7cQleKX2jL2FOCwE2BXKIplQ=; b=0LjjGTxaEOMBNbJzP10fTG984WafSxjYus+aREYAxjGNs8njqPIlO0ta0sJs2oA+ay lSVXWYcXukhfwj3ILPEUxkVjnittqZbkbFzp/FqlzqaTJLVIXahcOUCkbvLOGkXTCxmQ nr+o9hbnwR/xkEahSZHPNdM3pDpEuxTCQXuM0NnGUfvqo5PFpBldkPp279ZouBwTpzdh /Qp2tXOzcF8sqzSsE82YHb/6oFlhgnWZRh9glBnwbGHNAsXlbyMQr8hG19EKswGWObUj V8dsBc12u+CMTX1Ucz2bd9CEY+fwNHCCl2YFxhoYNtqJIaMFaNpqFzThEkbtH02Fa669 nMYQ== 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 g67-20020a636b46000000b00513237d939esi3812247pgc.563.2023.05.19.09.17.18; Fri, 19 May 2023 09:17:32 -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 S229938AbjESQMT (ORCPT + 99 others); Fri, 19 May 2023 12:12:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229500AbjESQMN (ORCPT ); Fri, 19 May 2023 12:12:13 -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 1CB6AAA; Fri, 19 May 2023 09:12:13 -0700 (PDT) Received: from ipservice-092-217-072-086.092.217.pools.vodafone-ip.de ([92.217.72.86] 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 1q02iB-0001FM-CO; Fri, 19 May 2023 18:12:11 +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 2/2] hwrng: imx-rngc - don't init of_device_id's data Date: Fri, 19 May 2023 18:11:19 +0200 Message-Id: <20230519161119.287268-3-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230519161119.287268-1-martin@kaiser.cx> References: <20230519161119.287268-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_NONE,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: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766339958204323594?= X-GMAIL-MSGID: =?utf-8?q?1766339958204323594?= We have no device-specific data for fsl,imx25-rngb. There's no need to set .data = NULL, this is the default. Signed-off-by: Martin Kaiser --- drivers/char/hw_random/imx-rngc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/hw_random/imx-rngc.c b/drivers/char/hw_random/imx-rngc.c index c807fdbd22ba..1a6a5dd0a5a1 100644 --- a/drivers/char/hw_random/imx-rngc.c +++ b/drivers/char/hw_random/imx-rngc.c @@ -321,7 +321,7 @@ static int __maybe_unused imx_rngc_resume(struct device *dev) static SIMPLE_DEV_PM_OPS(imx_rngc_pm_ops, imx_rngc_suspend, imx_rngc_resume); static const struct of_device_id imx_rngc_dt_ids[] = { - { .compatible = "fsl,imx25-rngb", .data = NULL, }, + { .compatible = "fsl,imx25-rngb" }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, imx_rngc_dt_ids);