From: Corentin Chary Date: Sat, 26 Feb 2011 09:20:35 +0000 (+0100) Subject: asus-wmi: factorise wmi_evaluate_method call X-Git-Tag: v2.6.39-rc1~20^2^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d33da3b6866975b17fbec67540f6153f5dcdcec7;p=pandora-kernel.git asus-wmi: factorise wmi_evaluate_method call This patch create a single function to call the WMI methods. This function handle inexistent methods (when implemented by the WMI devices, and this is not the case on Eee PCs), ACPI errors, etc.. Also pack struct bios_arg, and make sure that we always send a 64bit buffer when calling a WMI method, because this is needed on Asus notebooks. Signed-off-by: Corentin Chary Signed-off-by: Matthew Garrett --- Reading git-diff-tree failed