mcb: remove sub-device handling code
authorJohannes Thumshirn <jthumshirn@suse.de>
Fri, 26 Aug 2016 07:35:00 +0000 (09:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Aug 2016 11:16:24 +0000 (13:16 +0200)
commitb58189b3c5cf54689a0c154e4d9cff918a29ab0b
tree088d3ddcce609fd08a05ebbb416767c8e234f29c
parent68d9671a845e11c4eec1976876c1af5687a55279
mcb: remove sub-device handling code

The MEN Chameleon specification states that a chameleon FPGA can include a
bridge descriptor, which then opens up a new bus behind this bridge. MCB
included subdevice handling code in the core, but no support for bus
descriptors in the parser, due to a lack of hardware access.

As this is technically dead code, but it gets executed on a device add,
I've decided to remove it.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mcb/mcb-core.c
include/linux/mcb.h