From patchwork Fri May 19 16:11:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kaiser X-Patchwork-Id: 9587 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1358248vqo; Fri, 19 May 2023 09:24:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4RzebwZ3QZqQUzs0gdEizAibNjqPq734jrZlBCpa8cOBqK+lPSrbsU7vZzDOfJLCrLdfjr X-Received: by 2002:a17:903:2343:b0:1ae:35b8:d5ae with SMTP id c3-20020a170903234300b001ae35b8d5aemr3691900plh.19.1684513483256; Fri, 19 May 2023 09:24:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684513483; cv=none; d=google.com; s=arc-20160816; b=jKx4YOmqY1AiiDII144cPj4mY/EMWvPpVVjjpVSHvBGTUo2pwfQHFN9hnvLS7CfwAM +qlQ+uqN2591tQ9EuTkEF4wP7COxlu8zu641ggV6VJipEvfaMoc4MsXG44+KCKg9ab08 rQ0f/n4VTgsYPgQJX5EkvIMkeU2jGAwt4gKGuK+H2X85+r+Xnr4xxU4juqeJ3xt/mz03 x6PFbzRzW7DcZp0Oo7/+5vxPOZBR4G5py3kHPXP6fRl/krBAD1OXoac6zV8LOZxpt3cr v1do5uwOc7ObnuwHXj10eUC6ax9DjokJQ8dwkPn4B7LT0hhpe/OtqJyAaCCkagroWm8T SZOA== 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=vrRbkELcHiyQtMd/ib1OASrlGUvXNjuJp7cAMIyHQ0hhs32khtGDitJs/GGYLr4fJ5 77JFfKEaqk0nY+w8MzFMH7wTzlj1rSBxpCu2B2ACgPpoWyPbinDZmgVOCqMzZNPx7yyR 3uL0Cjkpqifq2IjHI6NuPL5fIr4GlmeHWHmSAOl2waJHi2O+7Z3mBxo1uNOEdLeEoFg0 1XQWSNIeEGHNuyO6J5Q01HSPHPwb9ufNMb30q5+mS4xht5yJ+SylLAU/i/npiEXO50jB mjv9Qi6dpmYEjgoSjvUb1G7jpDxHy73sehJ1YADux9qafDblu34qldeVytECSbkfmJ0O BJlQ== 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 jc9-20020a17090325c900b001ac4e2d2b58si3714001plb.112.2023.05.19.09.24.30; Fri, 19 May 2023 09:24:43 -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 S229833AbjESQML (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 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?1766340410081456723?= X-GMAIL-MSGID: =?utf-8?q?1766340410081456723?= 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(-)