diff options
author | Jiang Liu <jiang.liu@linux.intel.com> | 2013-12-19 16:38:20 +0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-01-05 19:07:15 +0400 |
commit | d5c3d79e5ec6219fb20bf358d1e1bbaea1c36591 (patch) | |
tree | b6eb89f43a09775d77a609dc444099032134264e /lib/flex_array.c | |
parent | ea547d7db031e0cb010911470cbf5ba17e27eab0 (diff) | |
download | linux-d5c3d79e5ec6219fb20bf358d1e1bbaea1c36591.tar.xz |
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 <daniel@ffwll.ch>
Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions