summaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys/visorbus/visorbus_private.h
diff options
context:
space:
mode:
authorDavid Kershner2017-08-22 19:27:24 +0200
committerGreg Kroah-Hartman2017-08-23 00:12:52 +0200
commitfdf5b9ac3e8e91516a85ee43d3b9d63b40639e94 (patch)
treed9b131474bebdef3ac72080b7ea4652c1276c346 /drivers/staging/unisys/visorbus/visorbus_private.h
parentstaging: unisys: reference bus_no and dev_no directly (diff)
downloadkernel-qcow2-linux-fdf5b9ac3e8e91516a85ee43d3b9d63b40639e94.tar.gz
kernel-qcow2-linux-fdf5b9ac3e8e91516a85ee43d3b9d63b40639e94.tar.xz
kernel-qcow2-linux-fdf5b9ac3e8e91516a85ee43d3b9d63b40639e94.zip
staging: unisys: visorbus: Get rid of passthrough function visorchipset_bus_create
The function visorchipset_bus_create just called visorbus_create_instance, we should just combine it with visorbus_create_instance. Reviewed-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com> Signed-off-by: David Kershner <david.kershner@unisys.com> Reviewed-by: Tim Sell <timothy.sell@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys/visorbus/visorbus_private.h')
-rw-r--r--drivers/staging/unisys/visorbus/visorbus_private.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/unisys/visorbus/visorbus_private.h b/drivers/staging/unisys/visorbus/visorbus_private.h
index 189503535388..55ce5c7c60c5 100644
--- a/drivers/staging/unisys/visorbus/visorbus_private.h
+++ b/drivers/staging/unisys/visorbus/visorbus_private.h
@@ -23,7 +23,7 @@
#include "vbuschannel.h"
#include "visorbus.h"
-int visorchipset_bus_create(struct visor_device *bus_info);
+int visorbus_create_instance(struct visor_device *dev);
void visorchipset_bus_destroy(struct visor_device *bus_info);
int visorchipset_device_create(struct visor_device *dev_info);
void visorchipset_device_destroy(struct visor_device *dev_info);
@@ -38,7 +38,6 @@ int visorbus_init(void);
void visorbus_exit(void);
/* visorchannel access functions */
-
struct visorchannel *visorchannel_create(u64 physaddr,
unsigned long channel_bytes,
gfp_t gfp, const guid_t *guid);