staging: gasket: apex: fix sysfs_show
authorNick Ewalt <nicholasewalt@google.com>
Mon, 15 Oct 2018 04:59:25 +0000 (21:59 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Oct 2018 14:30:37 +0000 (16:30 +0200)
commit9edcf710ab0f58d4ab47a7f9aba5dbc9ad0c7900
treecd406e12aaf7d52a21d6c014d7061eeef8e1927c
parent4a966fa24a5a7e236db8ac1e58e04107db1c1930
staging: gasket: apex: fix sysfs_show

sysfs_show was incorrectly extracting the sysfs_attribute_type from the
gasket_sysfs_attribute. This prevented dispatch from working properly.

Signed-off-by: Nick Ewalt <nicholasewalt@google.com>
Signed-off-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gasket/apex_driver.c