From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S939378AbdDSUYk (ORCPT ); Wed, 19 Apr 2017 16:24:40 -0400 Received: from mga14.intel.com ([192.55.52.115]:44271 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936989AbdDSUYi (ORCPT ); Wed, 19 Apr 2017 16:24:38 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,222,1488873600"; d="scan'208";a="958883635" Date: Wed, 19 Apr 2017 23:24:33 +0300 From: Mika Westerberg To: Sven Van Asbroeck Cc: Andy Shevchenko , Thierry Reding , "Rafael J. Wysocki" , linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org, clemens.gruber@pqgruber.com, Sven Van Asbroeck Subject: Re: [PATCH v4 1/1] pwm: pca9685: fix gpio-only operation. Message-ID: <20170419202433.GH2619@lahna.fi.intel.com> References: <1492088291-5215-1-git-send-email-svenv@arcx.com> <1492088291-5215-2-git-send-email-svenv@arcx.com> <1492506852.24567.54.camel@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.7.1 (2016-10-04) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 18, 2017 at 11:52:49AM -0400, Sven Van Asbroeck wrote: > > __maybe_unused and remove ugly #ifdef:ery. > > If this works on non- CONFIG_PM systems, I'm all for it ! > Grepping the drivers/ directory, I see that some drivers use > #ifdef CONFIG_PM, some use __maybe_unused for runtime_pm. > > Mika and Thierry, thoughts ? I actually prefer CONFIG_PM here but up to Thierry to decide, I guess.