]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2218f200bd79823cf787fc5863ffdfe7a8763dce
treec800261402b30c70a7e92a5a5577eab141177431
parent1605012d1ca6f7dce7ee6727be91e766c9ba8303
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