commit | f0903863099668d6b03c7ea90b2e58a7ad1be6a3 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <error27@gmail.com> | Tue Aug 10 07:42:25 2010 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Aug 31 14:48:09 2010 -0700 |
tree | 842db8fb3e5ea67f059a015f1616d7af4f21f648 | |
parent | 0b6e7220ed2be6e40bbda4eeb2b9c397008f2cef [diff] |
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>