staging: gasket: apex: fold device add/remove logic inline
authorTodd Poynor <toddpoynor@google.com>
Sun, 5 Aug 2018 20:07:44 +0000 (13:07 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Aug 2018 09:20:07 +0000 (11:20 +0200)
commitc169d876bfbfedd9ed3d3968924c24455bb4cb2f
tree1f34083e943857046942731946472742887c0a2f
parent4420ea9366a5df61cbb0bb2ad827ff6391904f56
staging: gasket: apex: fold device add/remove logic inline

Gasket device drivers are now in charge of the device add and remove
sequences; the framework callbacks for these are deleted.  Move the
apex device add callback code to the probe function.  Apex did not
implement the removal callback.

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