Staging: hv: storvsc: Cleanup returned error code in storvsc_drv_init()

Use standard Linux error codes.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
K. Y. Srinivasan 2011-08-25 09:49:10 -07:00 committed by Greg Kroah-Hartman
parent 8e854680b5
commit b06efc199f

View File

@ -740,7 +740,7 @@ static int __init storvsc_drv_init(void)
if (max_outstanding_req_per_channel <
STORVSC_MAX_IO_REQUESTS)
return -1;
return -EINVAL;
return vmbus_driver_register(&storvsc_drv);
}