Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp843957ybf; Fri, 28 Feb 2020 08:41:16 -0800 (PST) X-Google-Smtp-Source: APXvYqzFkpVQK9GoKMehpIl7XjLSF9+ud9Sf/NdpkcXTZchB2vJTH+eFbAxZyoO696qNNN2b9nOU X-Received: by 2002:a05:6808:289:: with SMTP id z9mr3705086oic.48.1582908076692; Fri, 28 Feb 2020 08:41:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582908076; cv=none; d=google.com; s=arc-20160816; b=pMYOClC4MiANoFBGSV4wrg3Ex+s861IP3haYzctnoUlqLAdBsQjBSnMx6RWkSua3YL 6pWl28fvPXMzI+v7OmYSr1T3ZPQl2YvItFmGiE4OVQqGppHFGg0vZBs+iUdrDscgY7a6 9o3Bj219v7ekCIqJpea4pRAYqyq9R66ofOok9FFXdPcmWh67pRE7nC1WBV3LI45rg3On gPve2msk8NeVMdQqK1pgztpHnbdJgccsQf43rG+su0Rlq7IDhoObCQpMjvSNidf1rZh4 jdguSjNRRjvyWc3yHyWL3993rkTNEA0eABI6DxOypd1fmgmoawvpO++dEAuJRcQwHNBg uYUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=LBzqVgkSBMQoXRl/FnbNZpFHPZCwyHEtb7aUpugamR8=; b=yn1zHEK/Os6ntLJhyk3ajrCsyQ4CFniL+iaQx/VerkbN41s/lF6rWsUvneOtMhGlzL I50RodTqBVzQFjzcI419iDqYGvyHWeNP06vPiGxP1zZgRZTNauiAopIF99EHMx5DwKI1 S++w3Gaf26bXOCmNlwV29t0SKwwUwpYP8Qi/LACXB5h0cHymzKxokVlEgpDqHJtAPLef ZEP7novyDxoMSO/WlKf0+Gf9FGYI7QctzHF69sbGLm0AYfBPgrv2qVNsIw2Zwnlv1E5C dpxTNOzgNqKvbs3+jVwlDJqlxM8QVT9UMaRcLDxXcYCOBNoX8W8xPPyPpwQCCJ/9jUER FxNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gsw4SLW5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q195si2255977oic.83.2020.02.28.08.41.04; Fri, 28 Feb 2020 08:41:16 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gsw4SLW5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726103AbgB1Qkf (ORCPT + 99 others); Fri, 28 Feb 2020 11:40:35 -0500 Received: from mail-ed1-f66.google.com ([209.85.208.66]:34663 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725730AbgB1Qkf (ORCPT ); Fri, 28 Feb 2020 11:40:35 -0500 Received: by mail-ed1-f66.google.com with SMTP id dm3so4098157edb.1 for ; Fri, 28 Feb 2020 08:40:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition; bh=LBzqVgkSBMQoXRl/FnbNZpFHPZCwyHEtb7aUpugamR8=; b=gsw4SLW5qCHuoB7Q0zIyZ58tQGhNAJBs9d5H0Qn3wXzcqmGMfbyI21UdDwtf6PgQby ckO2iRD7WDVsQpPh2Ckqotcb6Ybl3zsePd3UwVf5c7GA0A3HRwwUAgHxuhtqDERguWZH MYMhHmCUAmggzDMoihqnF1EXIfkhyILA+vhuR6h16d4H3pfer/DS2BGaOWRM9Oci9Fui y6ScH2YNMQbExT6wFd51vyRpbwKYM1qv1qsp2op+eNFsoAeIWP/31CUxcUnDRi1l16Jm ddZKpMrkOTrhR7MjFmo+gJuna9y0sQJLo1tinoWdzktkiEnWmSa1jOzYP7e7nyKizuJo vrGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=LBzqVgkSBMQoXRl/FnbNZpFHPZCwyHEtb7aUpugamR8=; b=C+9+PzmVY5NX7LnAIZe/1GfvdOqkKLdL2N7/NiD9NYCSqbde4o9599M8r67jE6GDwP dxx/fhFGQgT1rCIurvAZdt4nAx14fSzcdsJsjbfBjYtRJdunu+g6rU/R1k7BY+QFqs/P gG7DaAOoHWFp8iu454psCXhkfQV4iv+bosi12gx5QQDla3Yh6HOns33qcOPJvarkDtcG /pI1K4OvCsGdpzXx7Z7ZEf8c8lWcTYyz61o+YBkIKKrBP9UB5J6Ghy/O5xdENeo4LMSm ggC5YKd6BsbEHwyShT8w4A81VXLhIB/2BdhAG9x+NCsJq3Rxu5yW4iGtljBH5tkOBLHD SUpA== X-Gm-Message-State: APjAAAV/KEblmQv68S5l3mgopuMdjKy/FlxJ91psoDIjFuz69yWoNLWJ qxDuFLTjYyJMO+Y0IVJikbM= X-Received: by 2002:a05:6402:cb7:: with SMTP id cn23mr5020041edb.72.1582908032490; Fri, 28 Feb 2020 08:40:32 -0800 (PST) Received: from smtp.gmail.com (1.77.115.89.rev.vodafone.pt. [89.115.77.1]) by smtp.gmail.com with ESMTPSA id r19sm104180eja.5.2020.02.28.08.40.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Feb 2020 08:40:31 -0800 (PST) Date: Fri, 28 Feb 2020 13:40:23 -0300 From: Melissa Wen To: Harry Wentland , Leo Li , Alex Deucher , Christian Konig , David Zhou , David Airlie , Daniel Vetter , Rodrigo Siqueira Cc: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/2] drm/amd/display: dc_link: cleaning up some code style issues Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset solves some coding style issues on dc_link for readability and cleaning up warnings. Change suggested by checkpatch.pl. Changes in v2: - Apply patches to the right amdgpu repository. - Remove unnecessary {} added in the previous version. Melissa Wen (2): drm/amd/display: dc_link: code clean up on enable_link_dp function drm/amd/display: dc_link: code clean up on detect_dp function drivers/gpu/drm/amd/display/dc/core/dc_link.c | 64 +++++++++---------- 1 file changed, 30 insertions(+), 34 deletions(-) -- 2.25.0