Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp883990ybh; Wed, 11 Mar 2020 12:47:52 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtYq+N8WqP/Zpg+sprffYDlhNTOg/6uwaN8bnKUHgOeoyVF+WmUU8MQwL4583P5J/k35qz4 X-Received: by 2002:aca:cdcd:: with SMTP id d196mr251762oig.16.1583956072638; Wed, 11 Mar 2020 12:47:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583956072; cv=none; d=google.com; s=arc-20160816; b=ze6nPiiSEVvHGQuFPHetpsI3AlpKdJpsxr76tDPoc33NAjVpH6nRNnqargwBuVyArI E6FnDtptmfdWt31+PGFefbgBLDtVK28I15tOPi55CoLEoru2GgwQgzo0kv4EV6Ex19Ok AA2z9ywbR65pmES6Xhmx3F+xRFqY27hZlZcZSPQ3m3An7nZI9Y07x8bmIx+5p6M6tH7R qDI/R/V0ei/QNQ7XLgPQOn75IP+ZJM6Bo8MU+WxzY5rdtPjTchINzmPDAVgFIsl+dcLc iVNFdffwa4B2K67KwC3zGhSfu16iOVSA0Z4c5r9JuWjkKIEcHnqESM0gJwN8ClZdkkVA 8R4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=DPlRt57hVmPu1xJsK9kfSRvEfdW8VLmNXskBXRBeKv0=; b=WCn2K9awTdwElGKQ+PHW3Z9STsGSctszvq9esMq6om6VMGYG09P9uD86Q69OOQwmHi Dkapghz+ET9A9DFo9a7ERK/93O73/k+tShS4ic1RWF+aZhsXDXcPvfVMfbraRSO5GBLW BDoBpA7A83JXs9uaT8eD+0Btd/up7+xiw88UfFXKISy15X3wXYiUuNaH099CCSh3es/y M3TZyaVhUQbQ8cc62Ci1lLY+At3rdOLAxXsjyV2KVO9WeV6/m+hRIIKlW4SRrXZSc5pP 6zxKKz85nGaaF54upqjHsBwX+YUfhFOllotpeMOxY6gAXJ6p6bPJb2SENwPN+61YfNWF S2lA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="CVNn/vtx"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t21si1615408otq.93.2020.03.11.12.47.39; Wed, 11 Mar 2020 12:47:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="CVNn/vtx"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731219AbgCKTql (ORCPT + 99 others); Wed, 11 Mar 2020 15:46:41 -0400 Received: from mail-qv1-f66.google.com ([209.85.219.66]:38375 "EHLO mail-qv1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730705AbgCKTql (ORCPT ); Wed, 11 Mar 2020 15:46:41 -0400 Received: by mail-qv1-f66.google.com with SMTP id p60so1468636qva.5; Wed, 11 Mar 2020 12:46:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=DPlRt57hVmPu1xJsK9kfSRvEfdW8VLmNXskBXRBeKv0=; b=CVNn/vtxvSgWrVSqwZ0p2Vg6weNO0ZOQkm8ut5/0+5m9ZrBsyZKFYHhAk7LBg4lXIk e8ZiKkO5bYB+88luevOWS21eDrrPeQAdum/OBmXJcZRNNtMDCIhpIDlrtgzGpprPH9Jo UsLob5J+WImw9gxBI5NW/JlaqTNp/w7HkPt+hThc7odaKGCifU7oq6qEQrHYe4smBrnc 4lwuIFAQtN6d+CiNpvoa0kBsuaRRMTYRKclU2jTpxUb3+zRdl6Hd2KWHeQi1EqDlPNWl dFyjG/00PizA4gnvlWfxF0KXTKGwIy5984/it4LX/7KeKMHuBV2LoKgBXf7xaTC32ak1 ZG9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=DPlRt57hVmPu1xJsK9kfSRvEfdW8VLmNXskBXRBeKv0=; b=I+/OFYIgboA5x90zb3cN11QaO1xgMtydd55B5igsp0cPOlvl2C0Svduok7TT1ke9S1 +nOpjFyptLVNgFmIUI77j74kwRN93NIggjzSynWvWKfq7RnkdpDn5pXbQcs+0f/FD8Y9 AyKQ7B0MUzEZrWGRod/3dsYZECvk/TWyNT0/+fsO1y8lLb8Httif01IXCMXZx796qU7R AomtYEPfkQ8/C94lH7BC0KwuWPM9tS8dB/tdQmBYs+5RlFKlQXlhz9laDoW1aIC82TvH flnCD/1I4xeUKNH9k/Z7AY8/SBZl98RqepXLnDEeHpowbr7PlrXpW67xl65qD4MsMj04 RfMw== X-Gm-Message-State: ANhLgQ1Pe3OvoHL0yc7E/rBgOXPAIlAfRArbhFzY9Ax1Xsw608fUCKIR F6NBn4rCn12EY0XOvCP3W6SCEkWheLZs1PxD/Jg= X-Received: by 2002:ad4:510f:: with SMTP id g15mr4335813qvp.105.1583956000418; Wed, 11 Mar 2020 12:46:40 -0700 (PDT) MIME-Version: 1.0 References: <1583941429-10921-1-git-send-email-gupt21@gmail.com> <20200311164449.flzzwxqqhcxisil3@pengutronix.de> In-Reply-To: <20200311164449.flzzwxqqhcxisil3@pengutronix.de> From: rishi gupta Date: Thu, 12 Mar 2020 01:16:28 +0530 Message-ID: Subject: Re: [PATCH 1/1] pwm: pca9685: replace CONFIG_PM with __maybe_unused to prevent build issues To: =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= Cc: thierry.reding@gmail.com, s.trumtrar@pengutronix.de, linux-pwm@vger.kernel.org, lkml Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These 2 links contains more details: https://lore.kernel.org/patchwork/patch/732981 https://lkml.org/lkml/2019/1/17/437 On Wed, Mar 11, 2020 at 10:14 PM Uwe Kleine-K=C3=B6nig wrote: > > On Wed, Mar 11, 2020 at 09:13:49PM +0530, Rishi Gupta wrote: > > The __maybe_unused attribute is preferred over CONFIG_PM > > to prevent build time issues. This commit replaces CONFIG_PM > > with this attribute. > > I wasn't aware of build time issues and thought this was just about > #ifdef being ugly. > > Anyhow, the change is fine, > > Acked-by: Uwe Kleine-K=C3=B6nig > > > -- > Pengutronix e.K. | Uwe Kleine-K=C3=B6nig = | > Industrial Linux Solutions | https://www.pengutronix.de/ = |