mei: bus: revamp probe and remove functions
authorTomas Winkler <tomas.winkler@intel.com>
Thu, 23 Jul 2015 12:08:40 +0000 (15:08 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Aug 2015 00:21:58 +0000 (17:21 -0700)
commitfeb8cd0fe7d63fd259c28f8a52fc88745717c9ec
treeccd469d0097a8c903be31ce88bf45e3cba7c41f5
parent688a9cce0c8e9116038586ae1cd6adabb10fa5aa
mei: bus: revamp probe and remove functions

Instead of generating device id on the fly during probing we
find the matching id entry on the device id table.
Get bus the module reference counter so it cannot
be unloaded after the driver has bounded to the client
device

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/bus.c