From: Jiang Liu Date: Thu, 19 Dec 2013 12:38:20 +0000 (+0800) Subject: ACPI / i915: replace open-coded _DSM code with helper functions X-Git-Tag: v3.14-rc1~107^2~9^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5c3d79e5ec6219fb20bf358d1e1bbaea1c36591;p=pandora-kernel.git ACPI / i915: replace open-coded _DSM code with helper functions Use helper functions to simplify _DSM related code in i915 driver. Function intel_dsm() is used to check functions supported by ACPI _DSM method, but it has strange check for special value 0x80000002. After digging into nouveau driver, I think the check is copied from nouveau driver and is useless for i915 driver, so remove it. Acked-by: Daniel Vetter Signed-off-by: Jiang Liu Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed