Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752325AbcKIIOb (ORCPT ); Wed, 9 Nov 2016 03:14:31 -0500 Received: from mail-qt0-f176.google.com ([209.85.216.176]:33261 "EHLO mail-qt0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751581AbcKIIO3 (ORCPT ); Wed, 9 Nov 2016 03:14:29 -0500 MIME-Version: 1.0 In-Reply-To: <20161103113410.2163-1-ahaslam@baylibre.com> References: <20161103113410.2163-1-ahaslam@baylibre.com> From: Linus Walleij Date: Wed, 9 Nov 2016 09:14:28 +0100 Message-ID: Subject: Re: [PATCH] gpio: davinci: Use unique labels for each gpio chip To: Axel Haslam Cc: Alexandre Courbot , "Nori, Sekhar" , Kevin Hilman , David Lechner , Grygorii Strashko , keerthy@ti.com, "linux-gpio@vger.kernel.org" , "linux-kernel@vger.kernel.org" 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: 513 Lines: 15 On Thu, Nov 3, 2016 at 12:34 PM, Axel Haslam wrote: > The gpiod framework uses the chip label to match a specific chip. > The davinci gpio driver, creates several chips using always the same > label, which is not compatible with gpiod. > > To allow platform data to declare gpio lookup tables, and for drivers > to use the gpiod framework, allocate unique label per registered chip. > > Signed-off-by: Axel Haslam Patch applied with the ACKs. Yours, Linus Walleij