[PATCH] input: Add sysfs interface to on/off state of GPIO keys and switches

Add two sysfs attributes, one each for keys and switches, that
report lists of keys or switches currently "on."

Signed-off-by: Eric Lighthart <ericx.lighthart@xxxxxxxxx>