OSDN Git Service

staging: gasket: apex: move sysfs setup code to probe function
authorTodd Poynor <toddpoynor@google.com>
Sun, 5 Aug 2018 20:07:46 +0000 (13:07 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Aug 2018 09:20:07 +0000 (11:20 +0200)
commit71934948b0a18c227de088a40c7660b5ed8cce2c
treec800261402b30c70a7e92a5a5577eab141177431
parent565eeedaa0c1b2b0d8abd3845e349de29065a5d2
staging: gasket: apex: move sysfs setup code to probe function

The gasket framework no longer provides callbacks to the device driver
for sysfs setup and teardown.  Move the sysfs setup code to the device
probe function.  Apex does not implement sysfs cleanup code.

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