From: Axel Lin Date: Thu, 10 Jun 2010 08:06:40 +0000 (+0800) Subject: hp-wmi: add error handling for hp_wmi_init X-Git-Tag: v2.6.36-rc1~579^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfec5c48cdfdcb08d73d24cbf277de543ef864ae;p=pandora-kernel.git 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 Signed-off-by: Matthew Garrett --- Reading git-diff-tree failed