Rex Zhu c15c8d7020 drm/amd/powerplay: fix Smatch static checker warnings
1. return -1 instead of -ENOMEM
2. The struct type mismatch warnings.

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Ken Wang  <Qingqing.Wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2016-01-08 15:39:23 -05:00
..
2015-12-15 13:39:40 +01:00
2015-10-19 11:00:44 +02:00
2015-09-30 10:44:48 +02:00
2015-12-08 16:07:53 +01:00
2015-09-30 10:44:48 +02:00
2015-09-24 17:18:41 +02:00
2015-12-08 11:04:26 +10:00
2015-11-24 11:41:49 +01:00
2015-09-30 10:44:48 +02:00
2015-09-30 10:44:48 +02:00
2015-12-15 10:22:26 +01:00
2015-12-15 10:22:26 +01:00
2015-09-30 10:44:48 +02:00