mirror of https://gitee.com/openkylin/linux.git
gpio: clps711x: delete local <mach/gpio.h> header
This header file is unused and we shall not add new headers to the <mach/*> namespace. The macro may be reintroduced when there is a user for it. Cc: Alexander Shiyan <shc_work@mail.ru> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
a3b8d4a513
commit
a6d7092a34
|
@ -1,13 +0,0 @@
|
|||
/*
|
||||
* This file contains the CLPS711X GPIO definitions.
|
||||
*
|
||||
* Copyright (C) 2012 Alexander Shiyan <shc_work@mail.ru>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*/
|
||||
|
||||
/* Simple helper for convert port & pin to GPIO number */
|
||||
#define CLPS711X_GPIO(port, bit) ((port) * 8 + (bit))
|
Loading…
Reference in New Issue