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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4A970C678DB for ; Tue, 7 Mar 2023 11:32:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230314AbjCGLcl (ORCPT ); Tue, 7 Mar 2023 06:32:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230161AbjCGLch (ORCPT ); Tue, 7 Mar 2023 06:32:37 -0500 Received: from mx0b-001ae601.pphosted.com (mx0a-001ae601.pphosted.com [67.231.149.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A52251CBB; Tue, 7 Mar 2023 03:31:59 -0800 (PST) Received: from pps.filterd (m0077473.ppops.net [127.0.0.1]) by mx0a-001ae601.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3277tv94022730; Tue, 7 Mar 2023 05:30:19 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=PODMain02222019; bh=8Gw+hMjGj1I9H2fg3ljNbnH8D9RaMuxw0VHL6fBZJv4=; b=RLWayBHYAC3WRv9HPpNTERg+r3oTqRoc1PhTaiH7YBIi+g27pmBKE71aOiAvS27S3N07 +QHcy5hOfjEbFGHVcXXvt9qIN3WGOS3Bqlri7NiCAQhOhMOgUcVD/jtynzPS4OAO8V4x y0soTVGFyQ8h0rjtQN8pahOoaJaEwQF+b1XRYG7PlC2fH/BI33BVKPohDXEuq+sfwinQ st9ocuKEdqcae/7gnnLT1gkEC3NHxNf2+QnaoIAl+yku5tDVskg+wvMD2woy7I197Y8b atlA+qMh5usVUKVHiqBqRp3egA8oAV2JdrRPRQRVEwGGY4zU2uz2Qv/12AeFgHJufFHL 1A== Received: from ediex02.ad.cirrus.com ([84.19.233.68]) by mx0a-001ae601.pphosted.com (PPS) with ESMTPS id 3p4497427y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 07 Mar 2023 05:30:19 -0600 Received: from ediex02.ad.cirrus.com (198.61.84.81) by ediex02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.25; Tue, 7 Mar 2023 05:30:16 -0600 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by anon-ediex02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server id 15.2.1118.25 via Frontend Transport; Tue, 7 Mar 2023 05:30:16 -0600 Received: from ediswmail.ad.cirrus.com (ediswmail.ad.cirrus.com [198.61.86.93]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id C72ED11D3; Tue, 7 Mar 2023 11:30:16 +0000 (UTC) Date: Tue, 7 Mar 2023 11:30:16 +0000 From: Charles Keepax To: Claudiu Beznea CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: Re: [PATCH] ASoC: do not include pm_runtime.h if not used Message-ID: <20230307113016.GS68926@ediswmail.ad.cirrus.com> References: <20230307103022.1007420-1-claudiu.beznea@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20230307103022.1007420-1-claudiu.beznea@microchip.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Proofpoint-GUID: 8AhJH_Etb0kWl8-U4QDOKiyr044l28y7 X-Proofpoint-ORIG-GUID: 8AhJH_Etb0kWl8-U4QDOKiyr044l28y7 X-Proofpoint-Spam-Reason: safe Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 07, 2023 at 12:30:22PM +0200, Claudiu Beznea wrote: > Do not include pm_runtime.h header in files where runtime PM support is > not implemented. > > Signed-off-by: Claudiu Beznea > --- > sound/soc/codecs/cs35l45.h | 1 - > diff --git a/sound/soc/codecs/cs35l45.h b/sound/soc/codecs/cs35l45.h > index 53fe9d2b7b15..0555702eac03 100644 > --- a/sound/soc/codecs/cs35l45.h > +++ b/sound/soc/codecs/cs35l45.h > @@ -11,7 +11,6 @@ > #ifndef CS35L45_H > #define CS35L45_H > > -#include > #include > #include > cs35l45 does already make use of some functions from that header, and more support is in the process of being upstreamed. So this part should be dropped. Thanks, Charles