From patchwork Thu Nov 17 21:11:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 1854 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp627305wrr; Thu, 17 Nov 2022 13:18:48 -0800 (PST) X-Google-Smtp-Source: AA0mqf49XIRXjX5X2XB+KPVaz7QyI8vXRHamnnDCwNWJQAgHrFLPlBaR9KgqeFJQlr2Pl3ZUx0ub X-Received: by 2002:aa7:cd99:0:b0:462:719:3372 with SMTP id x25-20020aa7cd99000000b0046207193372mr3777109edv.361.1668719928219; Thu, 17 Nov 2022 13:18:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668719928; cv=none; d=google.com; s=arc-20160816; b=MjVIftfuygw7JsuJOgN/nla04avV/n8DQRPyaingknspqJ43WS3mt2wtyJb/KmJVUU 6Pqw6AkohCF0bG4mZ+7fqq3eeCep2iZ0Wibj1bKpAZiWRfMIf15ywlU/p+jQekZRvVhg cUB8CaK7JRtYrkaH+SvprdPQKleU+Ubm/h3EbpHdbiVo3yDm4wwWj8/ebzRLmyjE3MIC kMtOO7+C/KhJcsNUpeWOd3qydDfARa2ELm9hZ2lPOxhpyoECywoWdASCIdd4O9xMw82y NbV21GgFC61tDca2Kcw27w/Ugz2XaUDtVe7S+/imhRrCUCkltkSAfGokoBS4Bhq+NuRt Uixw== 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=B3rtVdSyTq4CUsp/r91O0lPo1IYEqkc+0lkG4XtAWB8=; b=OzSGHonStXXO6T4ou7r7N0+XytyVkRLOjG9aVWkUfzKF7yx/BcwTR6W1prYCrVTsmu sxi0GTtsPPZ0r7mmwkRP5UNFnU8XChElwAcS5ZZP/UC45qU4wSHLbijkvLLIZDrf9o/S Ju94BuyZz+lb+F4cal2wZ+cdck8NyHfGB5eryVa6ZC4rbL0S7YlzEyLehmtA/3zFjGps lPHKrZluT7yJ5LxB88jPOoAnENBgvC9pRWgxWEXy7Dpko+RcVrHpf8nT/mWtAZHOxnmc kX7BM6vH6qUU7hR2PtAgaYjfOmo7Ld+MzeXf65JOC/uFfUS6aYtjiDjQ2oM4jqrDWMiP RxYQ== 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 j4-20020aa7c0c4000000b0045acbc10e93si1509095edp.562.2022.11.17.13.18.17; Thu, 17 Nov 2022 13:18:48 -0800 (PST) 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 S234683AbiKQVMQ (ORCPT + 99 others); Thu, 17 Nov 2022 16:12:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240719AbiKQVL4 (ORCPT ); Thu, 17 Nov 2022 16:11:56 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A1921005D for ; Thu, 17 Nov 2022 13:11:56 -0800 (PST) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ovmAp-0007Om-Uf; Thu, 17 Nov 2022 22:11:51 +0100 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1ovmAn-004v5i-VG; Thu, 17 Nov 2022 22:11:50 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1ovmAo-00HN0C-7m; Thu, 17 Nov 2022 22:11:50 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Thierry Reding Cc: linux-pwm@vger.kernel.org, Andy Shevchenko , linux-kernel@vger.kernel.org, kernel@pengutronix.de Subject: [PATCH v2 0/4] pwm: Some refactoring of pwmchip_add() Date: Thu, 17 Nov 2022 22:11:39 +0100 Message-Id: <20221117211143.3817381-1-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=597; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=aKdTZtwl9XGWY0ES2jremYshZeBwEU3FkygP8AbmADQ=; b=owEBbQGS/pANAwAKAcH8FHityuwJAcsmYgBjdqN6vngz0LjirqUblfu69s/DY/NTHk0KMrteH8pI EuwuFHyJATMEAAEKAB0WIQR+cioWkBis/z50pAvB/BR4rcrsCQUCY3ajegAKCRDB/BR4rcrsCSFSB/ 9RWVXu+0qWl4ouuFja11ps95FnIX5u8L9NUNBjAE0yDr8LumSchx92oac19awp16Tlwjy783qXOU9i KNcqht6N6z0w3IiSORqntZ11WvqAgVQCtY98V2o9QYCPlZCPyq1x5goLGdspO/gxHyFqrODvi2Jw7c tQQ161wyuFGgjRVt2WipsAo2+5sDOet14cr3DU+FPTWDZjtgquvVap9XJquE8ipb6pJGOsPXdDmVKZ YODB3xKIMU1pWOm8QuX0is2Vp7+J82x+h1eoTjGBweUt9OXHDhlJQjBKMj18B7jNO8fT5lFSQ59cPd ruPasoIwNqKJYrV9YqlGdZFDPp6gwm X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1749779667423513201?= X-GMAIL-MSGID: =?utf-8?q?1749779667423513201?= Hello, Compared to (implicit) v1, this amends the commit log as agreed upon with Andy and adds his tags. Thanks for the review! Best regards Uwe Uwe Kleine-König (4): pwm: Document variables protected by pwm_lock pwm: Reduce time the pwm_lock mutex is held in pwmchip_add() pwm: Mark free pwm IDs as used in alloc_pwms() pwm: Don't initialize list head before calling list_add() drivers/pwm/core.c | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) base-commit: 9abf2313adc1ca1b6180c508c25f22f9395cc780