Re: [RESEND] [PATCH] radeon: clean up coding style differences in radeon_get_bios()

From: Alex Deucher
Date: Mon Oct 20 2014 - 18:13:47 EST


On Thu, Oct 16, 2014 at 5:37 AM, Wilfried Klaebe
<w-lkml@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> radeon: clean up coding style differences in radeon_get_bios()
>
> Signed-off-by: Wilfried Klaebe <w-lkml@xxxxxxxxxxxxxxxxxxxxxxxxxx>

Applied. thanks!

Alex

>
> 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;
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
>
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/