drivers/fsi: Add master unscan
authorChristopher Bostic <cbostic@linux.vnet.ibm.com>
Tue, 6 Jun 2017 21:08:46 +0000 (16:08 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Jun 2017 09:52:08 +0000 (11:52 +0200)
commitcd0fdb5c07b27bac8ce617459c3599f7be315ce5
treef5b9cb324cf72079ce529b3611e45c329ba8fcfd
parent4efe37f4c4efcb73562e4634cb6c262b08ab6451
drivers/fsi: Add master unscan

Allow a master to undo a previous scan.  Should a master scan a bus
twice it will need to ensure it doesn't double register any
previously detected device.

Signed-off-by: Christopher Bostic <cbostic@linux.vnet.ibm.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
----
v7 - Unscan when unregistering master
   - Remove leading '__'s from function names
   - Return fail state for sysfs rescan file
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/fsi/fsi-core.c