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 5CA9DC433FE for ; Wed, 8 Dec 2021 12:31:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233436AbhLHMe4 (ORCPT ); Wed, 8 Dec 2021 07:34:56 -0500 Received: from mga02.intel.com ([134.134.136.20]:3999 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233422AbhLHMe4 (ORCPT ); Wed, 8 Dec 2021 07:34:56 -0500 X-IronPort-AV: E=McAfee;i="6200,9189,10191"; a="225077909" X-IronPort-AV: E=Sophos;i="5.88,297,1635231600"; d="scan'208";a="225077909" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Dec 2021 04:31:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,297,1635231600"; d="scan'208";a="461675209" Received: from mylly.fi.intel.com (HELO [10.237.72.56]) ([10.237.72.56]) by orsmga003.jf.intel.com with ESMTP; 08 Dec 2021 04:31:20 -0800 Message-ID: <20280fe7-4880-ed9b-11b3-d4d03784d9da@linux.intel.com> Date: Wed, 8 Dec 2021 14:31:19 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0 Thunderbird/91.3.2 Subject: Re: [PATCH v1 05/11] i2c: designware-pci: use __maybe_unused for PM functions Content-Language: en-US To: Andy Shevchenko , Wolfram Sang , linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org Cc: Mika Westerberg , Ajay Gupta References: <20211207192159.41383-1-andriy.shevchenko@linux.intel.com> <20211207192159.41383-5-andriy.shevchenko@linux.intel.com> From: Jarkko Nikula In-Reply-To: <20211207192159.41383-5-andriy.shevchenko@linux.intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/7/21 21:21, Andy Shevchenko wrote: > Use __maybe_unused for PM functions instead of ifdeffery. > > Signed-off-by: Andy Shevchenko > --- > drivers/i2c/busses/i2c-designware-pcidrv.c | 6 ++---- > 1 file changed, 2 insertions(+), 4 deletions(-) > > diff --git a/drivers/i2c/busses/i2c-designware-pcidrv.c b/drivers/i2c/busses/i2c-designware-pcidrv.c > index e6b4b1a468da..66dc765b6834 100644 > --- a/drivers/i2c/busses/i2c-designware-pcidrv.c > +++ b/drivers/i2c/busses/i2c-designware-pcidrv.c > @@ -187,8 +187,7 @@ static struct dw_pci_controller dw_pci_controllers[] = { > }, > }; > Acked-by: Jarkko Nikula