drm/radeon: refactor radeon_atif_call
authorLuca Tettamanti <kronos.it@gmail.com>
Sun, 29 Jul 2012 15:04:43 +0000 (17:04 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 Sep 2012 17:10:35 +0000 (13:10 -0400)
commit86504672f7d79986a8ef618fb120044220e3d1eb
treec8a8f2044749dad5adbccc4035f5bd861ec66612
parentf3728734ba78310525bf4a361c7787c7c6fa5d40
drm/radeon: refactor radeon_atif_call

Don't hard-code function number, this will allow to reuse the function.
v2: add support for the 2nd parameter (from Lee, Chun-Yi
<jlee@suse.com>).

Signed-off-by: Luca Tettamanti <kronos.it@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_acpi.c