From patchwork Mon Aug 15 19:37:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kaiser X-Patchwork-Id: 597302 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id ABBB8C25B08 for ; Mon, 15 Aug 2022 22:12:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350495AbiHOWMU (ORCPT ); Mon, 15 Aug 2022 18:12:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347549AbiHOWKX (ORCPT ); Mon, 15 Aug 2022 18:10: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 4D46A30F7A; Mon, 15 Aug 2022 12:38:05 -0700 (PDT) Received: from dslb-188-096-143-237.188.096.pools.vodafone-ip.de ([188.96.143.237] 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 1oNfuM-000485-FE; Mon, 15 Aug 2022 21:37:54 +0200 From: Martin Kaiser To: Herbert Xu , Olivia Mackall 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 - use devres for clk and hwrng Date: Mon, 15 Aug 2022 21:37:41 +0200 Message-Id: <20220815193743.105926-1-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Use devres for clock prepare+enable and for hwrng registration. Martin Kaiser (2): hwrng: imx-rngc - use devm_clk_get_enabled hwrng: imx-rngc - use devres for hwrng registration drivers/char/hw_random/imx-rngc.c | 37 ++++++------------------------- 1 file changed, 7 insertions(+), 30 deletions(-)