Commit 804aab3b authored by David Kershner's avatar David Kershner Committed by Greg Kroah-Hartman

staging: unisys: visorbus: remove postcodes in visorbus_init

Remove the POSTCODES in visorbus_init. Since there are no more POSTCODES
in visorbus_main.c we can remove the reference to the vmcallinterface
header file.

No need for vmcallinterface in visorbus_main.c
Signed-off-by: default avatarDavid Kershner <david.kershner@unisys.com>
Reviewed-by: default avatarTim Sell <timothy.sell@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 81aaca2f
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#include "visorbus.h" #include "visorbus.h"
#include "visorbus_private.h" #include "visorbus_private.h"
#include "vmcallinterface.h"
#define MYDRVNAME "visorbus" #define MYDRVNAME "visorbus"
...@@ -1262,8 +1261,6 @@ visorbus_init(void) ...@@ -1262,8 +1261,6 @@ visorbus_init(void)
{ {
int err; int err;
POSTCODE_LINUX(DRIVER_ENTRY_PC, 0, 0, DIAG_SEVERITY_PRINT);
visorbus_debugfs_dir = debugfs_create_dir("visorbus", NULL); visorbus_debugfs_dir = debugfs_create_dir("visorbus", NULL);
if (!visorbus_debugfs_dir) if (!visorbus_debugfs_dir)
return -ENOMEM; return -ENOMEM;
...@@ -1271,19 +1268,14 @@ visorbus_init(void) ...@@ -1271,19 +1268,14 @@ visorbus_init(void)
bus_device_info_init(&clientbus_driverinfo, "clientbus", "visorbus"); bus_device_info_init(&clientbus_driverinfo, "clientbus", "visorbus");
err = bus_register(&visorbus_type); err = bus_register(&visorbus_type);
if (err < 0) { if (err < 0)
POSTCODE_LINUX(BUS_CREATE_ENTRY_PC, 0, 0, DIAG_SEVERITY_ERR); return err;
goto error;
}
initialized = true; initialized = true;
bus_device_info_init(&chipset_driverinfo, "chipset", "visorchipset"); bus_device_info_init(&chipset_driverinfo, "chipset", "visorchipset");
return 0; return 0;
error:
POSTCODE_LINUX(CHIPSET_INIT_FAILURE_PC, 0, err, DIAG_SEVERITY_ERR);
return err;
} }
void void
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment