Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756558AbcJXAhS (ORCPT ); Sun, 23 Oct 2016 20:37:18 -0400 Received: from mail-qk0-f170.google.com ([209.85.220.170]:33290 "EHLO mail-qk0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753368AbcJXAhP (ORCPT ); Sun, 23 Oct 2016 20:37:15 -0400 MIME-Version: 1.0 In-Reply-To: References: From: Linus Walleij Date: Mon, 24 Oct 2016 02:37:14 +0200 Message-ID: Subject: Re: gpiolib-of: Cannot request gpio with multiple chips To: Axel Haslam Cc: Alexandre Courbot , "linux-kernel@vger.kernel.org" , "linux-gpio@vger.kernel.org" , Masahiro Yamada , Kevin Hilman Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 518 Lines: 16 On Thu, Oct 20, 2016 at 5:22 PM, Axel Haslam wrote: > if you agree with the above, What is the best way to proceed ? > - fix the davinci gpio driver to the new behavior of gpiolib-of > - fix the gpiolib-of to loop all chips again? Either fix all users or make the same semantic come back, whatever makes most sense and gives the cleanest code. > - revert the patches? Nah, it's a nice cleanup. Let's see if we can do something better first. It should be a last resort. Yours, Linus Walleij