From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1033246AbdDTQN0 (ORCPT ); Thu, 20 Apr 2017 12:13:26 -0400 Received: from mga07.intel.com ([134.134.136.100]:7363 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1033178AbdDTQNU (ORCPT ); Thu, 20 Apr 2017 12:13:20 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,225,1488873600"; d="scan'208";a="1138179294" Message-ID: <1492704791.24567.104.camel@linux.intel.com> Subject: Re: [PATCH v4 1/1] pwm: pca9685: fix gpio-only operation. From: Andy Shevchenko To: Sven Van Asbroeck , Andy Shevchenko Cc: Thierry Reding , "Rafael J. Wysocki" , linux-pwm@vger.kernel.org, "linux-kernel@vger.kernel.org" , Mika Westerberg , Sven Van Asbroeck Date: Thu, 20 Apr 2017 19:13:11 +0300 In-Reply-To: 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> Organization: Intel Finland Oy Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6-1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2017-04-20 at 11:50 -0400, Sven Van Asbroeck wrote: > > Thus, I would suggest: int sleep -> bool enable (or alike). > > > > Would we agree on that? > > I would. Perhaps also: > set_sleep_mode(int sleep) -> enable_sleep_mode(bool enable) ? I'm okay with a such (don't forget to change 0/1 in call sites to false/true as well). > Let's see what Mika and Thierry think. I suppose Mika's answer is an acknowledge to the change. -- Andy Shevchenko Intel Finland Oy