Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp735851ybh; Wed, 11 Mar 2020 09:45:49 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuUNigM7VTrwCURqpe6MntEp8isyJHfAOrnsGi5bUa63YZMVs8FYx099BnuaqmN1h51RPp0 X-Received: by 2002:a4a:ca85:: with SMTP id x5mr830229ooq.4.1583945149314; Wed, 11 Mar 2020 09:45:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583945149; cv=none; d=google.com; s=arc-20160816; b=bdvXMJeqi2AC6v4vzhpNn4pIMrghTXuTArCR+R4OpjQjUyydqiZPWxFHWOaEYWQMwb XO8gJEYEjkEhxoOqJ45C+HD6rJYgBqcrhzahPM+V2p375u38Xds+km+IzcCPYSMIcUkn 2MbOox2siM1EIBHdQKza1g2Wzb1H+kETx06JIU1cpx28XnmnpADURMljDxIBgKOIaeyS y0MzK7AcfdnRlPsppW+p9MyK7Q7CMYZoIRBB4EQt6ofQZwXI2TADH/3kMquNDFUVkGEc 9/pnVGMGm+fYFJrMm3DJtz2jcqGsi6Jyz8FO1PhsPLBTl72AZMM6L8WMKZNlnwU3FmLs vkHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=fNfrxrBR7Nk1LU5fk5xdFEP2l9IZB9OmimBsZ+PhYug=; b=jAmQRgjMuYKKQg+zFtdVdd2SyLe26hKc0yKlfQQ75rDI1XMzLYQcuU02VqqcA3GQ43 Xxzkv/oGycisXSkudUHeHRtMqx1kRNwC2seMbqcyL4u3U/p3pV+K/Cn/x1UzyM1pEt1Z gYN2yMH1+r+OuspjZslgoaYsQbvQ33E+i4eoFD0HdzzbGVlBQDKAmd5uqeFyjUU1YUY9 Z1YxwXNOKthO8Em4n5gei0HZbkKnFXO80VYGZI1e39pzg0TShuBbT/HphTHxJ+VE0NEB bcB5n5zfSBREj9E1s7/ZqK23J+CDw4tngIElcmBypAH+ekmJkEbxaxXw/7H2044cAlMJ l5Dw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f187si1452155oia.218.2020.03.11.09.45.36; Wed, 11 Mar 2020 09:45:49 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730325AbgCKQov (ORCPT + 99 others); Wed, 11 Mar 2020 12:44:51 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:43073 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730316AbgCKQov (ORCPT ); Wed, 11 Mar 2020 12:44:51 -0400 Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jC4TS-0003Ts-0b; Wed, 11 Mar 2020 17:44:50 +0100 Received: from ukl by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1jC4TR-0002Qs-N9; Wed, 11 Mar 2020 17:44:49 +0100 Date: Wed, 11 Mar 2020 17:44:49 +0100 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= To: Rishi Gupta Cc: thierry.reding@gmail.com, s.trumtrar@pengutronix.de, linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/1] pwm: pca9685: replace CONFIG_PM with __maybe_unused to prevent build issues Message-ID: <20200311164449.flzzwxqqhcxisil3@pengutronix.de> References: <1583941429-10921-1-git-send-email-gupt21@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1583941429-10921-1-git-send-email-gupt21@gmail.com> User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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?nig -- Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | https://www.pengutronix.de/ |