From patchwork Thu Oct 16 09:37:34 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wilfried Klaebe X-Patchwork-Id: 5094771 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 E600BC11AC for ; Fri, 17 Oct 2014 01:08:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0C5C1201F5 for ; Fri, 17 Oct 2014 01:08:34 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id D1FEF201EC for ; Fri, 17 Oct 2014 01:08:32 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 862256E2E5; Thu, 16 Oct 2014 18:08:29 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org X-Greylist: delayed 406 seconds by postgrey-1.34 at gabe; Thu, 16 Oct 2014 02:50:12 PDT Received: from mail0.toppoint.de (mail0.toppoint.de [217.70.197.20]) by gabe.freedesktop.org (Postfix) with ESMTP id 6B1636E216 for ; Thu, 16 Oct 2014 02:50:12 -0700 (PDT) Received: from yoda.toppoint.de (yoda.toppoint.de [217.70.197.2]) by mail0.toppoint.de (Postfix) with ESMTPS id AC62B4DD2E; Thu, 16 Oct 2014 11:41:18 +0200 (CEST) Received: from uucp01.toppoint.de (uucp01.toppoint.de [217.70.197.22]) by yoda.toppoint.de (8.14.4/8.14.4/Debian-8) with ESMTP id s9G9f3fi029438; Thu, 16 Oct 2014 11:41:04 +0200 Received: by uucp01.toppoint.de (Postfix, from userid 10) id 0F60B12FE93; Thu, 16 Oct 2014 11:41:11 +0200 (CEST) Received: from w by kaos.ip4 with local (Exim 4.84) (envelope-from ) id 1XehV0-000516-OD; Thu, 16 Oct 2014 09:37:34 +0000 Date: Thu, 16 Oct 2014 09:37:34 +0000 From: Wilfried Klaebe To: linux-kernel@vger.kernel.org Subject: [RESEND] [PATCH] radeon: clean up coding style differences in radeon_get_bios() Message-ID: <20141016093734.GA2563@kaos.lebenslange-mailadresse.de> Mail-Followup-To: linux-kernel@vger.kernel.org, trivial@kernel.org, dri-devel@lists.freedesktop.org, Alex Deucher , Christian =?iso-8859-1?Q?K=F6nig?= , David Airlie MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-Mailman-Approved-At: Thu, 16 Oct 2014 18:08:28 -0700 Cc: Alex Deucher , trivial@kernel.org, Christian =?iso-8859-1?Q?K=F6nig?= , dri-devel@lists.freedesktop.org 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.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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: clean up coding style differences in radeon_get_bios() Signed-off-by: Wilfried Klaebe --- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ 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;