|
@@ -2316,7 +2316,7 @@ visorchipset_init(struct acpi_device *acpi_device)
|
|
visorchipset_platform_device.dev.devt = major_dev;
|
|
visorchipset_platform_device.dev.devt = major_dev;
|
|
if (platform_device_register(&visorchipset_platform_device) < 0) {
|
|
if (platform_device_register(&visorchipset_platform_device) < 0) {
|
|
POSTCODE_LINUX_2(DEVICE_REGISTER_FAILURE_PC, DIAG_SEVERITY_ERR);
|
|
POSTCODE_LINUX_2(DEVICE_REGISTER_FAILURE_PC, DIAG_SEVERITY_ERR);
|
|
- rc = -1;
|
|
|
|
|
|
+ rc = -ENODEV;
|
|
goto cleanup;
|
|
goto cleanup;
|
|
}
|
|
}
|
|
POSTCODE_LINUX_2(CHIPSET_INIT_SUCCESS_PC, POSTCODE_SEVERITY_INFO);
|
|
POSTCODE_LINUX_2(CHIPSET_INIT_SUCCESS_PC, POSTCODE_SEVERITY_INFO);
|