Staging: quickstart: acpi_status is unsigned
authorDan Carpenter <error27@gmail.com>
Tue, 10 Aug 2010 05:42:25 +0000 (07:42 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 31 Aug 2010 21:48:09 +0000 (14:48 -0700)
commitf0903863099668d6b03c7ea90b2e58a7ad1be6a3
tree842db8fb3e5ea67f059a015f1616d7af4f21f648
parent0b6e7220ed2be6e40bbda4eeb2b9c397008f2cef
Staging: quickstart: acpi_status is unsigned

acpi_bus_register_driver() returns an int, not acpi_status.  It returns
zero on success and negative error codes on failure, but acpi_status is
unsigned.  We can just use "ret" here.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/quickstart/quickstart.c