drm/amdgpu: some improvement in parsing inputs
authorEric Huang <JinHuiEric.Huang@amd.com>
Tue, 14 Jun 2016 19:08:22 +0000 (15:08 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2016 18:54:32 +0000 (14:54 -0400)
commit14b33074299cbdf3213723dc4267fd3c822135c7
tree93d4b7a86cdb01dc7414ecf71a3c39093a5ad74e
parent0a81a87c984afb1f765b8d60da809d177aff5c89
drm/amdgpu: some improvement in parsing inputs

It changes the way to skip newline character and also avoids
warning message from some compiler.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Eric Huang <JinHuiEric.Huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c