From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Shevchenko Subject: Re: [PATCH 3/6] i2c: add 'set_sda' to bus_recovery_info Date: Wed, 13 Dec 2017 17:30:14 +0200 Message-ID: <1513179014.7000.44.camel@linux.intel.com> References: <20171204123640.3382-1-wsa+renesas@sang-engineering.com> <20171204123640.3382-4-wsa+renesas@sang-engineering.com> <20171205133848.nzrhysiz2twvlamx@ninjato> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-renesas-soc-owner@vger.kernel.org To: Linus Walleij , Wolfram Sang Cc: Wolfram Sang , linux-i2c@vger.kernel.org, Linux-Renesas , Phil Reid , Jarkko Nikula , Claudio Foellmi , Andrzej Hajda List-Id: linux-i2c@vger.kernel.org On Tue, 2017-12-05 at 16:31 +0100, Linus Walleij wrote: > On Tue, Dec 5, 2017 at 2:38 PM, Wolfram Sang > wrote: > > Two statice inlines in > named > > int gpiod_is output() > int gpiod_is_input() Ha, just proposed similar. > > should conform to Rusty Russell's API hierarchy. > > Interested in fixing it, or should I? > I can almost ACK it before you write the patch. I vote for this type of API, and agree with Wolfram !_get_direction() is confusing. -- Andy Shevchenko Intel Finland Oy