Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2717202rwd; Fri, 19 May 2023 09:14:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ47bHhOalqM7VULItxgjcv6F9RkttewDU9HucjCMNY29xNwBgzY+oCfI455q0qgrMBNGL38 X-Received: by 2002:a17:902:e808:b0:1a6:9cb3:5b30 with SMTP id u8-20020a170902e80800b001a69cb35b30mr8014140plg.8.1684512873188; Fri, 19 May 2023 09:14:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684512873; cv=none; d=google.com; s=arc-20160816; b=ej2vVshn02tYqvDu6KmSgih0a6v0MdxUNKkq5TviGToCqTtfD+i82f+tOCV1FC0tvE twbTVcQssB35qHwu0CGq6f557NDSi4aZb2bM1pP9E60u6oSN0XjlIASitxsZAvyaOumz RYj0hxWDy32U4hGoTv4eB8g1ncZjZrJrsLYf6YltPOt+ejMUvNi27VhpcEa7cEChnKoT 0a49vPTZk1NNrY0GpvfHRqt20M2PiqKUap5EH5gFf5V9nuyu5a1cpGxm7Q30gdYX50b6 ydIRYF8SCfo6tqsNW0GR3PBhods5mcg35bdk8YTTVvEkoWFt6JWH375xwrZhHWzAa6DP oiOg== 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=KHon6uNtN7qLb/wi3heslkpFa7l/tf3beZrVsFKkzpo=; b=JscVquKghUhpnFCn3N05gSVPYaOZP//l9VwOt8ZgENfVl2BYdeaUVd65cST/b8T2UN D6e2ypmtCij7zyZzL2PTNEpmSlaebOgC+U5ApbYWoup0/slnZbpH2eUAq6ZaajJoPG1R EdbLKMwdV64Wh5X31D9nFUuC8IkmA0GShDMw0jmLT+y/tFRkTy0yKreN3aKLs0sqRGBW 8oxBrrz7C006SM6CDln67qPXyh87hd1GOE8UHWtqIM16UeJK2rMtq9Ps/xc47QRkiCZ2 VrARgKP/pjotytVmX3Fs2DwllK9XtcvqPKlXpAE9D0eDIFAGdN7mGRSsICKAU0NJQ958 tD9Q== 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 cu15-20020a17090afa8f00b00233e301c780si1968028pjb.31.2023.05.19.09.14.20; Fri, 19 May 2023 09:14:33 -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 S229611AbjESQML (ORCPT + 99 others); Fri, 19 May 2023 12:12:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229500AbjESQMK (ORCPT ); Fri, 19 May 2023 12:12:10 -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 18053BB; Fri, 19 May 2023 09:12:08 -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 1q02i7-0001FM-A6; Fri, 19 May 2023 18:12:07 +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 0/2] hwrng: imx-rngc - two simple cleanups Date: Fri, 19 May 2023 18:11:17 +0200 Message-Id: <20230519161119.287268-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,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-crypto@vger.kernel.org Here's two more simple cleanups for imx-rngc. We can drop .data = NULL in the imx_rngc_dt_ids. And the probe function can be marked as __init as we don't support hotplugging. Martin Kaiser (2): hwrng: imx-rngc - mark the probe function as __init hwrng: imx-rngc - don't init of_device_id's data drivers/char/hw_random/imx-rngc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.30.2