summaryrefslogtreecommitdiff
path: root/include/linux/linux_string.h
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2014-08-11 09:23:52 -0600
committerSimon Glass <[email protected]>2014-08-31 23:21:06 -0600
commit89e6405425c7b52fd1330c61b6f5526612b87516 (patch)
tree13186d56fec8da659f25289204b6d71923b495df /include/linux/linux_string.h
parenta1263632bb05f0a21620bad0661235fcbbe79dca (diff)
dm: gpio: Enhance gpio command to show only active GPIOs
The GPIO list is very long in many cases and most of them are not used. By default, show only the GPIOs that are in use, and provide a flag to show all of them. This makes the 'gpio status' command much more pleasant. In order to do this, driver model now exposes a method for obtaining the 'function' of a GPIO, which describes whether it is an input or output, for example. Implementation of this method is optional. Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions