drm/radeon/kms: remove stray radeon_i2c_destroy
authorAlex Deucher <alexdeucher@gmail.com>
Thu, 26 Aug 2010 16:22:04 +0000 (12:22 -0400)
committerDave Airlie <airlied@redhat.com>
Thu, 26 Aug 2010 23:10:22 +0000 (09:10 +1000)
I missed this one in the i2c unification patch.  This
is handled in the core radeon i2c code now.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_pm.c

index 477ba67..f87efec 100644 (file)
@@ -637,8 +637,6 @@ void radeon_pm_fini(struct radeon_device *rdev)
        }
 
        radeon_hwmon_fini(rdev);
-       if (rdev->pm.i2c_bus)
-               radeon_i2c_destroy(rdev->pm.i2c_bus);
 }
 
 void radeon_pm_compute_clocks(struct radeon_device *rdev)