commit | dfec5c48cdfdcb08d73d24cbf277de543ef864ae | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Thu Jun 10 16:06:40 2010 +0800 |
committer | Matthew Garrett <mjg@redhat.com> | Tue Aug 03 09:48:47 2010 -0400 |
tree | 49286224b8cc935b9b2f914e185960f69a34f5c8 | |
parent | 35f2915c3bd0cd6950bdd9d461de565e8feae852 [diff] |
hp-wmi: add error handling for hp_wmi_init Current implementation in hp_wmi_init does not check any error and always return success. This patch properly handles recource reclaim and return err in error path. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>