commit | b072e53b0a27a885d8be3d08c8d8758292762f39 | [log] [tgz] |
---|---|---|
author | Jiang Liu <jiang.liu@linux.intel.com> | Thu Dec 19 20:38:22 2013 +0800 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Sun Jan 05 16:07:15 2014 +0100 |
tree | 177e2c32c572665f4ec1b933599a4f3c13c41de1 | |
parent | 4988d0aeb6843b7070e406f8e6cb095c74e5f136 [diff] |
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 <jiang.liu@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>