From patchwork Wed Sep 17 15:22:15 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wilfried Klaebe X-Patchwork-Id: 4927641 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 0C313BEEA5 for ; Thu, 18 Sep 2014 01:05:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3ED0620123 for ; Thu, 18 Sep 2014 01:05:53 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 8C55C20166 for ; Thu, 18 Sep 2014 01:05:51 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2581C6E193; Wed, 17 Sep 2014 18:05:48 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org X-Greylist: delayed 484 seconds by postgrey-1.34 at gabe; Wed, 17 Sep 2014 08:30:22 PDT Received: from mbp8.localnet (51-240-103-86.dynamic.dsl.tng.de [86.103.240.51]) by gabe.freedesktop.org (Postfix) with ESMTP id 2A1C489F31 for ; Wed, 17 Sep 2014 08:30:22 -0700 (PDT) Received: from w (uid 1000) (envelope-from w-lkml@lebenslange-mailadresse.de) id 3800de by mbp8.localnet (DragonFly Mail Agent v0.9); Wed, 17 Sep 2014 17:22:15 +0200 Date: Wed, 17 Sep 2014 17:22:15 +0200 From: Wilfried Klaebe To: "open list:RADEON DRM DRIVERS" Subject: radeon/radeon_bios.c: clean up coding style differences in radeon_get_bios() Message-ID: <20140917152215.GA10535@mbp8.localnet> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-Mailman-Approved-At: Wed, 17 Sep 2014 18:05:47 -0700 Cc: Alex Deucher , Christian =?iso-8859-1?Q?K=F6nig?= , LKML X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP radeon/radeon_bios.c: clean up coding style differences in radeon_get_bios() Signed-off-by: Wilfried Klaebe diff --git a/drivers/gpu/drm/radeon/radeon_bios.c b/drivers/gpu/drm/radeon/radeon_bios.c index 6a03624..63ccb8f 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;