staging: most: core: replace struct most_inst_obj
authorChristian Gromm <christian.gromm@microchip.com>
Tue, 21 Nov 2017 14:04:56 +0000 (15:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Nov 2017 08:20:35 +0000 (09:20 +0100)
commit9136fccf38a7aaf173c42365664c2fce1bcc67a1
treee56235ee11cf2e824db310e24f678243a23cee25
parentec0c2f62ab8cebde7dbe8a3a4780dee280f1a98c
staging: most: core: replace struct most_inst_obj

This patch introduces struct interface_private as a replacement for
the struct most_inst_obj. This structure holds private data that is
only needed by the core module and will be accessed by a pointer from
within the most_interface structure. As a result of this replacement
the bus helper functions can be used to search for devices.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/core.c
drivers/staging/most/core.h