• Paul Mundt's avatar
    sh: generic push-switch framework. · 9f5e8eee
    Paul Mundt authored
    This adds support for a generic push switch framework. Adaptable for
    various switches, including GPIO switches and the push switches commonly
    found on Renesas debug boards.
    
    This allows switch states to be trivially reported through sysfs.
    Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
    9f5e8eee
push-switch.c 3.03 KB