gpio: fix pinmux sysfs interface

The pinmux attribute is always present in sysfs interface now. It has
the same functionality as the current_pinmux from the debugfs/gpio_debug
interface with the difference that instead of using values like
'mode0' ... 'mode7' one must use '0'...'7'.

BUG=25892557
Change-Id: I1537d38bef4d710a50c3c191c8640f183f22358b
Tracked-On: https://jira01.devtools.intel.com/browse/BP-88
Reviewed-on: https://android.intel.com/434857
Reviewed-by: Musca, Constantin <constantin.musca@intel.com>
Signed-off-by: Beare, Bruce J <bruce.j.beare@intel.com>
Signed-off-by: Mihai Serban <mihai.serban@intel.com>
1 file changed