aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_device.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2016-12-01 03:21:10 +0200
committerAlex Deucher <alexander.deucher@amd.com>2017-03-29 23:53:26 -0400
commita33c1a822c837f757c210995c9704f39d0cd4373 (patch)
treefb726c44f32fa171a5fb49322d63b685b4468e93 /drivers/gpu/drm/radeon/radeon_device.c
parentdrm/amdgpu: print full bios version in dmesg. (diff)
downloadlinux-dev-a33c1a822c837f757c210995c9704f39d0cd4373.tar.xz
linux-dev-a33c1a822c837f757c210995c9704f39d0cd4373.zip
drm/radeon: remove useless and potentially wrong message
There is no need to repeat information that printed by PCI core at boot time. Besides that printing was potentially wrong since resource_size_t might be bigger than 32 bits and there is a dedicated specifier for such type, i.e. %pap. Someone can fix it and use even better approach, i.e. %pR. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_device.c')
-rw-r--r--drivers/gpu/drm/radeon/radeon_device.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c
index dde59c36ba92..64b02f3c7906 100644
--- a/drivers/gpu/drm/radeon/radeon_device.c
+++ b/drivers/gpu/drm/radeon/radeon_device.c
@@ -1440,11 +1440,8 @@ int radeon_device_init(struct radeon_device *rdev,
rdev->rmmio_size = pci_resource_len(rdev->pdev, 2);
}
rdev->rmmio = ioremap(rdev->rmmio_base, rdev->rmmio_size);
- if (rdev->rmmio == NULL) {
+ if (rdev->rmmio == NULL)
return -ENOMEM;
- }
- DRM_INFO("register mmio base: 0x%08X\n", (uint32_t)rdev->rmmio_base);
- DRM_INFO("register mmio size: %u\n", (unsigned)rdev->rmmio_size);
/* doorbell bar mapping */
if (rdev->family >= CHIP_BONAIRE)