diff options
author | Dan Carpenter <error27@gmail.com> | 2010-12-06 22:44:23 +0100 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2011-01-07 23:03:45 +0100 |
commit | e1e0dacba5af2b0cd8f9043d0b937296c90bc990 (patch) | |
tree | 70a4dea5b47cf51693ea16f3a981e3444273c780 /README | |
parent | eeepc-wmi: never load if legacy device is enabled (diff) | |
download | linux-e1e0dacba5af2b0cd8f9043d0b937296c90bc990.tar.xz linux-e1e0dacba5af2b0cd8f9043d0b937296c90bc990.zip |
WMI: return error if wmi_create_device() fails
The break resets the retval to 0 but we want to return an error code.
This was introduced in c64eefd48c4 "WMI: embed struct device directly
into wmi_block"
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Acked-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions