Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1827777rdb; Tue, 3 Oct 2023 02:05:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGuSN5jQE4nwqbIi9Vuhhc8ZyARYgUKKL9pI9iXR8i+sWqhXLipAmaBpQ/ME/T28hSlvOin X-Received: by 2002:a05:6830:d6:b0:6c4:cda6:ff3e with SMTP id x22-20020a05683000d600b006c4cda6ff3emr15155719oto.18.1696323956724; Tue, 03 Oct 2023 02:05:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696323956; cv=none; d=google.com; s=arc-20160816; b=piqN0NlpQl82JZoazzumeru0PkGtcep2Qr3+ddyc8uqNpoHtEqJTbXjooBaOCbjvhL jCFmhBDoOXpXLFErGWIkqGadPY6r2NfvJX3JzJwbCtbN2KIfrFrc0pdBsB2iu9YhVPyF ticrTWumPaTXzF6u2ZLCJwZC12/gyf81906Njz8p+TtaNeFGAmBiz59CfzXFWhfCwhbA S8ozA4Ygbm6bCwaa/HKnzSpMNLSvIR5GWCWdXPkO8aIJyXEGkg5hpWGCoVh7MNGrMXH7 SEptCDZPlO/hrPLzDK0Oj1qnqklZFWAqa4IKBTKeh1idgHCkpQoSszdoCAaQ8BHqEsbY oLxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=cb5/hQnoW3TxMABVMmjU2nmGfcA92It8udx2G4+Fj9c=; fh=Y2wLlRbS2Y2aaMkTzAu+APRC9heOXU346bcD2TdAVTg=; b=aZanh3bYAsnm0jIk5hnvOAVSD3I11y3kbXC9r0/yuCWEF8IWJRzXP0hALDmkr2866r 1hZ4JPeTvu9mfaXKjK59NSE7tlxTUZ/i8qoR7pmbWK6XUfZP3rlZws1Bp6zij1jsgH25 6h70DXLa/mkqaA7g5wE7l8gugEsQBh5HNS5B3EleHSyAfHqfvwFHrr4m2yl6VooErNL3 S1Z1zkbMvTaa/S5eEA4UFvF/DvjqrCZM63hK/wwA7VNLI3M3JKofGXXaDhG8vbHbD0Nm MHpdJo4kGMOkj1TgB0FgMI7YXtOD2UfoDR3z+32IhvcrQTA4MGKT+Zk5eo1cU9IGvbgm V5nQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="QvC2kg/D"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id o15-20020a656a4f000000b005440b9f013csi1178768pgu.899.2023.10.03.02.05.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 02:05:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="QvC2kg/D"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 028EA80657D7; Tue, 3 Oct 2023 02:05:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239478AbjJCJFo (ORCPT + 99 others); Tue, 3 Oct 2023 05:05:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239475AbjJCJFn (ORCPT ); Tue, 3 Oct 2023 05:05:43 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58FFFA9; Tue, 3 Oct 2023 02:05:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1696323938; x=1727859938; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=3A4Xsgt2ENTV3OdXZZCuv0qf+6Y37EwvUrpqsTmdJmI=; b=QvC2kg/Dhx5oQOxLn66dJRpDYgEh+wgATBfDQnVZGBexbIiJXmeUby88 7nv0t6MQlGFrJPLL6PtCI9gSaISXKgLb7xwBy7ke4zPaEmdPhD+L6JtTP qFjAN8WP4AnzD8QA6p4dsJimj4WU7I0bVJSWn0p6kBtqgxASLIJtFpG+6 wU4P3vsKS+RHxno6FeIy/ijL7qapnmxAdxM2w+duIlAZkjgGsOJQ24olq f6PDXVW12eZ42ylI4ogOmyM/knCeExC33/QfeLkeiylmVL6Qo9PL18x5I 0qMrcgTSkmR8pj2vUYGuDzmnCTIBzUcmCBbUZmjU5iFiV89waTZcGxh9N w==; X-IronPort-AV: E=McAfee;i="6600,9927,10851"; a="373170450" X-IronPort-AV: E=Sophos;i="6.03,196,1694761200"; d="scan'208";a="373170450" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Oct 2023 02:05:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10851"; a="841272903" X-IronPort-AV: E=Sophos;i="6.03,196,1694761200"; d="scan'208";a="841272903" Received: from black.fi.intel.com ([10.237.72.28]) by FMSMGA003.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Oct 2023 02:05:37 -0700 Date: Tue, 3 Oct 2023 12:05:34 +0300 From: Raag Jadav To: linus.walleij@linaro.org, mika.westerberg@linux.intel.com, andriy.shevchenko@linux.intel.com Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, mallikarjunappa.sangannavar@intel.com, bala.senthil@intel.com Subject: Re: [PATCH v1 1/2] pinctrl: baytrail: drop runtime PM support Message-ID: References: <20231003081519.27524-1-raag.jadav@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231003081519.27524-1-raag.jadav@intel.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 03 Oct 2023 02:05:47 -0700 (PDT) On Tue, Oct 03, 2023 at 01:45:18PM +0530, Raag Jadav wrote: > Since Baytrail pinctrl device is not attached to acpi_lpss_pm_domain, > runtime PM serves no purpose here. Drop it and switch to pm_sleep_ptr() > as now we only have suspend and resume handles in place. > > No functional impact. > > TODO: > Consider moving to DEFINE_LATE_DEV_PM_OPS() in the future once we have > enough users to account for its introduction. > > Signed-off-by: Raag Jadav > Acked-by: Mika Westerberg > --- > drivers/pinctrl/intel/pinctrl-baytrail.c | 18 +----------------- > 1 file changed, 1 insertion(+), 17 deletions(-) > > diff --git a/drivers/pinctrl/intel/pinctrl-baytrail.c b/drivers/pinctrl/intel/pinctrl-baytrail.c > index ec76e43527c5..14a61a262be1 100644 > --- a/drivers/pinctrl/intel/pinctrl-baytrail.c > +++ b/drivers/pinctrl/intel/pinctrl-baytrail.c > @@ -16,7 +16,6 @@ > #include > #include > #include > -#include > #include > #include > #include I just realized I forgot to add pm.h here. I'll send out a v2. Raag