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: 11610 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp1379235vqx; Tue, 4 Jul 2023 10:53:17 -0700 (PDT) X-Google-Smtp-Source: APBJJlH/YijdDTA8Zh883+VWeQkqq5m9grO4WKzjRSolC/gt3nHGrfz+KGH/xQiQ3lSSjo3l6/2h X-Received: by 2002:a17:90a:2f42:b0:263:1213:df3f with SMTP id s60-20020a17090a2f4200b002631213df3fmr8662674pjd.15.1688493197210; Tue, 04 Jul 2023 10:53:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688493197; cv=none; d=google.com; s=arc-20160816; b=HE1hWvpUBkfOnHWoL9Jcfcs2vu8dioTv49/aDIJyD1vUvG61blfl5D6w8Wasu3T7SI kn82H1zbFRI5Ho1SsIfQIUqCmoYZFWNebIWKFVYqlOSp7xcwDIii75ETvjx48J7E1g3x tRBYB4oMbzruivgSZjgA+NG+LercWxe859UD2WbJzZaTOtNBL5m5PI7gXNd0+wzBCXwg PuWs53/IRMXbZd37DmVI2PbULb9vbjAE4sZQyVK741266Cjzl7lwZQVw+4bLb2jZbdNQ dLDWXxltX94lsjXq44gOltq38An9ZPkwt/cV6uWC8ECtcI/BfqSWET+JBPafZGf/y3YP XjvA== 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=Hb6RSOcYIi6APqFOUTOvnajI8pZUk5+5RegHMJbVVps=; fh=lO4wmMQhvm8y/jaHDv9dt1CS5yb5ZTFKyt5xlt/d/d8=; b=r7Np74y/O9+llmxT0R6cD00hmdeMD1NDh3uKtSZXW6gkOTgcHo/lu2kk7AD0KtLFJv HjOMsOqK0jouzxkvML3EuT3XQBncrUNgpQljZbL3f09w+WTdGxMmNi5jVcPgPfIAAWhJ 2zClB0uU3SNz/EAj19PkAY5COc9VUgaBIow/fYzdV0bnCk0+tWXTG+2NeDZxdB9DXisJ +Xi+gV3B/bHgJhILF7OZ+yoxO9UaurYWE39r/3KctXVqjMZeDCpGxlXTrky80ZrwGJWF wgkaaabD+lZER0bLr4DqpPATeUvIqIl8dTemuWYaC+GcA0aeOuNSP2GvRiCnEQWLTXV5 OmlA== 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 o14-20020a635d4e000000b0053ff2ca1b24si21232316pgm.843.2023.07.04.10.53.03; Tue, 04 Jul 2023 10:53:17 -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 S231593AbjGDRdv (ORCPT + 99 others); Tue, 4 Jul 2023 13:33:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230255AbjGDRdu (ORCPT ); Tue, 4 Jul 2023 13:33:50 -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 EC51810D5; Tue, 4 Jul 2023 10:33:49 -0700 (PDT) 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-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?1770513442764729643?= X-GMAIL-MSGID: =?utf-8?q?1770513442764729643?= 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(-)