]> git.sur5r.net Git - u-boot/commit
dm: gpio: sandbox: Implement the get_function() method
authorSimon Glass <sjg@chromium.org>
Sat, 4 Oct 2014 17:29:45 +0000 (11:29 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 24 Oct 2014 01:29:52 +0000 (19:29 -0600)
commit699ea9606ca8e4227c8be607197733d348cd12c4
tree48e475b9f368ab1d5eefd87ea92889eb7621554f
parent0757535a7eee3ae5603520fe4a0588a01a590ea7
dm: gpio: sandbox: Implement the get_function() method

Implement this method so that the 'gpio' command can do its job correctly.
For sandbox we only support input and output states for a gpio.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/gpio/sandbox.c