dm: Move the function for getting GPIO status into the uclass
authorSimon Glass <sjg@chromium.org>
Sat, 4 Oct 2014 17:29:44 +0000 (11:29 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 24 Oct 2014 01:29:52 +0000 (19:29 -0600)
commit0757535a7eee3ae5603520fe4a0588a01a590ea7
tree1e87d9fc38cab2e3d78bcd16047de8bbacb0fad5
parent6449a506d67b0374bf23a3833f15afa0c92a7a0e
dm: Move the function for getting GPIO status into the uclass

This function can be more easily tested if it is in the uclass.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/cmd_gpio.c
drivers/gpio/gpio-uclass.c
include/asm-generic/gpio.h