drm/radeon: clean up r600_free_extended_power_table()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 4 Sep 2013 09:32:52 +0000 (12:32 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Sep 2013 15:44:26 +0000 (11:44 -0400)
commit41cd0b3b78d83ae87ee71cca2de5498f93816763
treebc1c1888342937b13a4c4d4b05906d78e559e63d
parent8666c076df307088c86a47117e1b124a6d2fa5b0
drm/radeon: clean up r600_free_extended_power_table()

kfree() can accept NULL pointers so I have removed the checks.  Also
I've used a pointer to shorten the lines.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/r600_dpm.c