From: Jiang Liu Date: Thu, 19 Dec 2013 12:38:22 +0000 (+0800) Subject: ACPI / nouveau: replace open-coded _DSM code with helper functions X-Git-Tag: v3.14-rc1~107^2~9^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b072e53b0a27a885d8be3d08c8d8758292762f39;p=pandora-kernel.git ACPI / nouveau: replace open-coded _DSM code with helper functions Use helper functions to simplify _DSM related code in nouveau driver. After analyzing the ACPI _DSM related code, I changed nouveau_optimus_dsm() to expect a buffer and nouveau_dsm() to expect an integer only. Signed-off-by: Jiang Liu Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed