Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp5915559rwl; Thu, 29 Dec 2022 05:04:31 -0800 (PST) X-Google-Smtp-Source: AMrXdXv6vJlJc9p20I2eCb4K6MsqS6EJ2n3hAPtbhu4Cuam/Q9H+F3ZqoyFN8vtd6IzdqegpXzbt X-Received: by 2002:a05:6402:360f:b0:470:49a2:ad7d with SMTP id el15-20020a056402360f00b0047049a2ad7dmr25931618edb.25.1672319071666; Thu, 29 Dec 2022 05:04:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672319071; cv=none; d=google.com; s=arc-20160816; b=Bbkmn3roQ+4thfQOOP6/sGR4BHVsqrztkNfe1U7J6Gu7yFC7QDzXnLCEQzlB5pDZf/ j4jTN+WKOvebj4k6zLQFdi4EsSFhZNu9sSy5mFZbP8Dsu8tVT+p9smcTaVnzPltWDbK/ 4uQjw6YneC1OI+Kezczsz5f/gOOsdCNbu5zFsde12C09JrsvUWnoOzRktCOzDmNYBGCM XDUNw2rNKS/z/ILQAqX87awRrm3QYG/m7Jr5biijcwtcbs/t+paEXAq3JURJAr7BWqQY M2mgvyxbJpSGy9OMkZttLUQjQ0PEutdtJmklfClcaXuCzTuIqpUUnPyIAqZ9yfxnA91f B0Hw== 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:dkim-signature; bh=TGoAWBoxsYr7R34FSM3gUyfBTUKt70AcAnhuUpklGgg=; b=QsYhmkECmVkWr3HCh9MY06rFhA2Mxn1b2+CsAJ4x9zd84kCOC9sXCCqGGJHw5viy/e djy40GDx863wjSs/1fn9rSkSmDq3UuSq56bnieKVC/cyll714zM9egO567Wu+LJwfsAu 6FfvZ6zH+/MaqsKtUyrn4XTDZ8MATqmsUWUvq1uKHwOZklLhuZRkMy9Y48zZcHek373Q 1HPsuJsAd5rEguMSiqVi4htrLb9GyYwIYshTXEvFADY+rRbUs/Z573NjhcjtTG1ijdVZ MNzdCmHodtvV/tkMu6AMoqQ8lukMW999gVbc7vtWY7syv0KWX8bZUQ8Vq2VEu6VaaSKN pndQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Cvj4hLWw; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ew13-20020a056402538d00b004815f3b32a9si13566282edb.594.2022.12.29.05.04.17; Thu, 29 Dec 2022 05:04:31 -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; dkim=pass header.i=@intel.com header.s=Intel header.b=Cvj4hLWw; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233348AbiL2M7l (ORCPT + 61 others); Thu, 29 Dec 2022 07:59:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233354AbiL2M7e (ORCPT ); Thu, 29 Dec 2022 07:59:34 -0500 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7072113DC3; Thu, 29 Dec 2022 04:59:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1672318773; x=1703854773; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=ecyaM796ewTXPb5Y7iWRp/152r6U7JCXSRKl2+pMC2s=; b=Cvj4hLWwvQSGiH8oaIDteGcOKMYI6qFq/aQGs2x6K1p+8OyKjw4CyfLx 7UrXaw3qp+2iSpjZ3Si9VLXVipIzG18q9lLZC82XvHWzuzQa5BiJacoPz VWV9Df6ownFWwLpc8x/8aF4pmGMFodgAfjsWb4vPu1dkpWcrEPxNagxeX X91EH6wltubvE6nL7JLnsDQEE/vrU4QifI4eI1GkqlsdkjPLhKQxEGpyj t2rnX8H/Jab9nUH960RMn3jiHCRUpc4sS8dT9OjollxmPi/Q1CipWed+f VynTwnEcCNfkx5KDeRXsHgDXKYPJ26UMABZxb1X26TTxBuOi3Q3OrgHO7 A==; X-IronPort-AV: E=McAfee;i="6500,9779,10574"; a="348247457" X-IronPort-AV: E=Sophos;i="5.96,284,1665471600"; d="scan'208";a="348247457" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Dec 2022 04:59:33 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10574"; a="777691258" X-IronPort-AV: E=Sophos;i="5.96,284,1665471600"; d="scan'208";a="777691258" Received: from black.fi.intel.com ([10.237.72.28]) by orsmga004.jf.intel.com with ESMTP; 29 Dec 2022 04:59:29 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id 43824159; Thu, 29 Dec 2022 15:00:01 +0200 (EET) From: Andy Shevchenko To: Andy Shevchenko , Mika Westerberg , "Rafael J. Wysocki" , Paul Cercueil , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Cc: Andy Shevchenko , Linus Walleij , "Rafael J. Wysocki" , Len Brown , Pavel Machek Subject: [PATCH v1 0/3] pinctrl: intel: Provide NOIRQ PM helper and use it Date: Thu, 29 Dec 2022 14:59:54 +0200 Message-Id: <20221229125957.45923-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE 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 Intel pin control drivers use NOIRQ variant of PM callbacks. Besides that several other drivers do similar. Provide a helper to make them smaller. Andy Shevchenko (3): pm: Introduce DEFINE_NOIRQ_DEV_PM_OPS() helper pinctrl: intel: Switch to use DEFINE_NOIRQ_DEV_PM_OPS() helper pinctrl: cherryview: Switch to use DEFINE_NOIRQ_DEV_PM_OPS() helper drivers/pinctrl/intel/pinctrl-cherryview.c | 4 +--- drivers/pinctrl/intel/pinctrl-intel.h | 6 ++---- include/linux/pm.h | 5 +++++ 3 files changed, 8 insertions(+), 7 deletions(-) -- 2.35.1