Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755891AbbHYOcO (ORCPT ); Tue, 25 Aug 2015 10:32:14 -0400 Received: from mail-oi0-f46.google.com ([209.85.218.46]:33361 "EHLO mail-oi0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755848AbbHYOcK (ORCPT ); Tue, 25 Aug 2015 10:32:10 -0400 MIME-Version: 1.0 In-Reply-To: <1438678305-25524-1-git-send-email-albeu@free.fr> References: <1438678305-25524-1-git-send-email-albeu@free.fr> Date: Tue, 25 Aug 2015 16:32:09 +0200 Message-ID: Subject: Re: [PATCH v3] MIPS: Remove all the uses of custom gpio.h From: Linus Walleij To: Alban Bedel Cc: Linux MIPS , Ralf Baechle , Hauke Mehrtens , =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= , Bartlomiej Zolnierkiewicz , Tejun Heo , Alexandre Courbot , Dmitry Torokhov , Florian Fainelli , Manuel Lauss , Joe Perches , Daniel Walter , Sergey Ryazanov , Huacai Chen , James Hartley , Andrew Bresticker , Paul Burton , Lars-Peter Clausen , Brian Norris , Varka Bhadram , Wolfram Sang , Randy Dunlap , Simon Horman , Bjorn Helgaas , Masanari Iida , Mauro Carvalho Chehab , Michael Buesch , abdoulaye berthe , "linux-kernel@vger.kernel.org" , linux-ide@vger.kernel.org, "linux-gpio@vger.kernel.org" , Linux Input , "netdev@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: 1286 Lines: 31 On Tue, Aug 4, 2015 at 10:50 AM, Alban Bedel wrote: > Currently CONFIG_ARCH_HAVE_CUSTOM_GPIO_H is defined for all MIPS > machines, and each machine type provides its own gpio.h. However > only a handful really implement the GPIO API, most just forward > everythings to gpiolib. > > The Alchemy machine is notable as it provides a system to allow > implementing the GPIO API at the board level. But it is not used by > any board currently supported, so it can also be removed. > > For most machine types we can just remove the custom gpio.h, as well > as the custom wrappers if some exists. Some of the code found in > the wrappers must be moved to the respective GPIO driver. > > A few more fixes are need in some drivers as they rely on linux/gpio.h > to provides some machine specific definitions, or used asm/gpio.h > instead of linux/gpio.h for the gpio API. > > Signed-off-by: Alban Bedel I bet I already ACKed this but anyways: Acked-by: Linus Walleij Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/