Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753192AbbGWNDr (ORCPT ); Thu, 23 Jul 2015 09:03:47 -0400 Received: from mail-oi0-f49.google.com ([209.85.218.49]:36292 "EHLO mail-oi0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752599AbbGWNDh (ORCPT ); Thu, 23 Jul 2015 09:03:37 -0400 MIME-Version: 1.0 In-Reply-To: <1437586416-14735-1-git-send-email-albeu@free.fr> References: <1437586416-14735-1-git-send-email-albeu@free.fr> Date: Thu, 23 Jul 2015 15:03:36 +0200 Message-ID: Subject: Re: [PATCH] MIPS: Remove most of the 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 , Joe Perches , Daniel Walter , Sergey Ryazanov , Huacai Chen , Andrew Bresticker , James Hartley , Paul Burton , Waldemar Brodkorb , James Hogan , Tomi Valkeinen , Levente Kurusa , abdoulaye berthe , Wolfram Sang , "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: 1076 Lines: 27 On Wed, Jul 22, 2015 at 7:33 PM, 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 > the Alchemy machine really use the feature, all other machines only > use the default wrappers. > > For most machine types we can just remove the custom gpio.h, as well > as the custom wrappers if some exists. A few more fixes are need in > a few 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 This is exactly what the kernel needs. Enjoy my: Reviewed-by: Linus Walleij And feel free to merge this through the MIPS tree. 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/