summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorWilfried Klaebe <w-lkml@lebenslange-mailadresse.de>2014-10-16 11:37:34 +0200
committerAlex Deucher <alexander.deucher@amd.com>2014-10-28 15:44:34 +0100
commitc9cb57fe8b0ef5829df0734a9269b5e9cd445cef (patch)
tree575cb6de4b3c883b51748f2ce15bd9b30444202f /drivers
parentdrm/radeon: Use drm_malloc_ab instead of kmalloc_array (diff)
downloadlinux-c9cb57fe8b0ef5829df0734a9269b5e9cd445cef.tar.xz
linux-c9cb57fe8b0ef5829df0734a9269b5e9cd445cef.zip
radeon: clean up coding style differences in radeon_get_bios()
Signed-off-by: Wilfried Klaebe <w-lkml@lebenslange-mailadresse.de> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/radeon/radeon_bios.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_bios.c b/drivers/gpu/drm/radeon/radeon_bios.c
index 6a03624fadaa..63ccb8fa799c 100644
--- a/drivers/gpu/drm/radeon/radeon_bios.c
+++ b/drivers/gpu/drm/radeon/radeon_bios.c
@@ -658,12 +658,10 @@ bool radeon_get_bios(struct radeon_device *rdev)
r = igp_read_bios_from_vram(rdev);
if (r == false)
r = radeon_read_bios(rdev);
- if (r == false) {
+ if (r == false)
r = radeon_read_disabled_bios(rdev);
- }
- if (r == false) {
+ if (r == false)
r = radeon_read_platform_bios(rdev);
- }
if (r == false || rdev->bios == NULL) {
DRM_ERROR("Unable to locate a BIOS ROM\n");
rdev->bios = NULL;