correct typos for sysfs function declarations

there were a number of typos that introduced inconsistencies with
the function declarations needed for gpio/sysfs entries.