gpio: move gpio_is_valid to include/gpio.h
No architectue implements its own gpio_is_valid() function, so move
the only existing implementation to include/gpio.h where it's available
for all users.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 21c31b9 commit 604aff317876d15ba1618b89f359b0b71481fdfb
@Sascha Hauer Sascha Hauer authored on 28 Nov 2014
Showing 2 changed files
View
include/asm-generic/gpio.h
View
include/gpio.h