Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1489219ybb; Fri, 20 Mar 2020 22:57:18 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtxaRMBE8waRuqb/N89iOcX29PeeHsGgQ+7r9A3PupnZbpQfoaAgLukuDQsqfjqlh3Uy3Y/ X-Received: by 2002:a05:6830:1b68:: with SMTP id d8mr9704352ote.56.1584770238534; Fri, 20 Mar 2020 22:57:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584770238; cv=none; d=google.com; s=arc-20160816; b=M9jWieOrSBY52jTijkvrcoGfphNdfWVv2ywwvcXSv3Fc9PQMCf68s0A/5+GjFjSH5e nyObFDtRiOOP9w6HZnx8EhJWIwyAG1WIxSngy+yYFKBMpq56+mGdXMYlOLncsx9tOFcJ QHUp27Fq+4uTd0EBhPv9xiFkknRrJ3EKKxkfIa04HlxiuiSsG6VLaTbiTxe2blpio4VL Dwa4LpXfcLKlqORmj5C+4aY6vvGuF5q2BKHE63eIjPkf2BCnyB909IWZO6QHYfwkDkce ZOhIyEdbydVqEx40kwGgKkK/OkA8v/WHXCNuVuncwddsSf+C/OTKcjYSc7s3Osi6aEi3 G7Lw== 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=gL2GEMsXemYZsa0NeenT8VlKPdt54oVv6YA/Geb5fnw=; b=wGJzaj7RZGILwwQauqvZuBSaHTMpOK+ALrv0SH1PMEJEPfPkuSTqacfcuZBmNADImg wlDT8QxJ2ln10BEX8Tkf5dkN9jx+8IlpY989DCHsD3puPoOUkGR2WMgO7Q9R82GByn5n IQGjWBiVHsHYLkLKV1GwxkYxTWTVXyIbruiuRSxkEBYbFpv3yNKFF4LrdT5iVynK8ZnX x5ogSRHous5W6B7TBdltDk5lHhlBHFQBwXWkD+xflSun0dLqG5vJ41y4tuOOkwKkbzgG zJhKCWte/xjoE3mtAVpicrabIKWZhFQB3T5OgoRScsrq2/HI/dBVnkFUOZOQNFq/CJR/ kUmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dukvGv+X; 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 34si4188621otv.21.2020.03.20.22.57.05; Fri, 20 Mar 2020 22:57:18 -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=dukvGv+X; 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 S1727929AbgCUF4s (ORCPT + 99 others); Sat, 21 Mar 2020 01:56:48 -0400 Received: from mail-qv1-f65.google.com ([209.85.219.65]:43804 "EHLO mail-qv1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725763AbgCUF4s (ORCPT ); Sat, 21 Mar 2020 01:56:48 -0400 Received: by mail-qv1-f65.google.com with SMTP id c28so4307747qvb.10; Fri, 20 Mar 2020 22:56:47 -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=gL2GEMsXemYZsa0NeenT8VlKPdt54oVv6YA/Geb5fnw=; b=dukvGv+XIqHXHQt9Yk0j9eS73UJGWYqaJ8tFLiTgcvcLLwGp0zblPsnnepuYHS/gb5 q3/vZhch1WRgqTSUY9nCk/J+60SvQAdmg32AAU+H5y4peGHqeonUyISnJtodhqpGXWal lgL+Ht0qhZc8a/Bun39rxvKh2Eoddmi0V9WrKxB1P3ZpkIS+O1mQCtvGuCW0bEI9eisS r4ZEw2vq0dmnmcVCrGLKTMMGqWpRPdopXNS5S6CGbfYxXjTUlGaic3KkpH7FgOuHrcan GW2zv8kqxOjwMlukTdhpCbZ7rdITF8Ee3jqtHx9tEijDRUyt3mzqaoLVEASGtIjCDJEf yXlQ== 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=gL2GEMsXemYZsa0NeenT8VlKPdt54oVv6YA/Geb5fnw=; b=WNKW1DQiQP0KAVFkE+CUeOPoVzWANvIlHqkqGkLVnzlnAVMywi2yMZraZKrFx1uTNw xm9vZ1zNyrZFx//B15nfBM6/4T8Q5zOR7AZGChOp7pk+8ysXD7rJg2p0w24Yt4dYjJvZ 5ZwwwkP6F6aqD55rZMsYa5hHGclysGcJBcqbR6W9GoKA6pAHLl33wAGpzRiPQfb16Iou hTsD2Vfa0r2fcZaYcVZmHVXti/aX4EKm6bJvl3vdO3mB5+iUYnJ+ppQg3+bnLm09CSzX /GcIkt+ZMEUj831G3YQxZPiU1HsS42cdZvgq3BMqWVheH54P61256EgHg9SXwjYoTA7I Wd6g== X-Gm-Message-State: ANhLgQ1dgYt5F4Cpp6scRMohvxlwE8f2P9pP7Ze7evvQwVCwPxDrp/4O wz85ODKm40Z85zGDF9xRwKTF4op9fRsQFoI8xbY= X-Received: by 2002:a0c:d601:: with SMTP id c1mr7174390qvj.164.1584770207173; Fri, 20 Mar 2020 22:56:47 -0700 (PDT) MIME-Version: 1.0 References: <1583941429-10921-1-git-send-email-gupt21@gmail.com> <20200311164449.flzzwxqqhcxisil3@pengutronix.de> <20200311195528.iplmlcuvp2jjaecn@pengutronix.de> In-Reply-To: <20200311195528.iplmlcuvp2jjaecn@pengutronix.de> From: rishi gupta Date: Sat, 21 Mar 2020 11:26:35 +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 Tested again and found one gerrit was missing in my local build. Both __maybe_unused and CONFIG_PM are working fine. So it is your choice to apply or not apply this patch. Regards, Rishi On Thu, Mar 12, 2020 at 1:25 AM Uwe Kleine-K=C3=B6nig wrote: > > On Thu, Mar 12, 2020 at 01:16:28AM +0530, rishi gupta wrote: > > These 2 links contains more details: > > https://lore.kernel.org/patchwork/patch/732981 > > https://lkml.org/lkml/2019/1/17/437 > > These are both about SIMPLE_DEV_PM_OPS which doesn't apply to > pwm-pca9685. > > Best regards > Uwe > > -- > Pengutronix e.K. | Uwe Kleine-K=C3=B6nig = | > Industrial Linux Solutions | https://www.pengutronix.de/ = |