From patchwork Tue Jul 4 17:31:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kaiser X-Patchwork-Id: 13301517 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3FE6AEB64D9 for ; Tue, 4 Jul 2023 17:34:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=HVBtoxl20T3k91PDQNoYx58PhihExyI92FQAGqFIx+c=; b=qRuu2rS5LB6uaI CfOuo1wD/e+QvUiaPpgaVo+3aaIwnccogs2VeGn8uBJrOs70LBjYdPLJ1IeGlDIyaElwqtUt1fHv5 Tyx8u6R4OO8KBayb27Ey5x0sn6aXh1NpKnYub3ZhHSpd63zydTe44evlUK4c9Z99KV8+QdbXilbRp t4Y54Hwh9d8vPOVczPDWujAwR2S7pPlhTH2m4zfsd+UpkdPGgrGXO6hj8P5Pb3odlGnfmL6IIxlwu n62HwtnIPcRHMftVqL2LDT/Uk+ZzVyKp7MLuwmzDq/F/zls9aVeORf1KjwlKwWLAvR43lBh+ogeKC XOAyTrHTkZ/J3Zwukhuw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qGjuT-00DwGv-0I; Tue, 04 Jul 2023 17:33:53 +0000 Received: from viti.kaiser.cx ([2a01:238:43fe:e600:cd0c:bd4a:7a3:8e9f]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qGjuQ-00DwEk-31 for linux-arm-kernel@lists.infradead.org; Tue, 04 Jul 2023 17:33:52 +0000 Received: from ipservice-092-217-072-126.092.217.pools.vodafone-ip.de ([92.217.72.126] 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 1qGjuM-0000yT-6B; Tue, 04 Jul 2023 19:33:46 +0200 From: Martin Kaiser To: Herbert Xu Cc: Joshua Henderson , linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Martin Kaiser Subject: [PATCH 0/4] hwrng: pic32 - some simple cleanups Date: Tue, 4 Jul 2023 19:31:59 +0200 Message-Id: <20230704173203.70706-1-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230704_103351_125850_A94857F5 X-CRM114-Status: UNSURE ( 7.01 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Here's a series with simple clenaups to the pic32 driver. The patches were compile tested only. Martin Kaiser (4): hwrng: pic32 - enable compile-testing hwrng: pic32 - use devm_clk_get_enabled hwrng: pic32 - remove unused defines hwrng: pic32 - enable TRNG only while it's used drivers/char/hw_random/Kconfig | 2 +- drivers/char/hw_random/pic32-rng.c | 71 +++++++++++------------------- 2 files changed, 27 insertions(+), 46 deletions(-)