From patchwork Fri Apr 26 05:59:00 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 16415 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f197.google.com (mail-qc0-f197.google.com [209.85.216.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 88BC123A42 for ; Fri, 26 Apr 2013 06:12:35 +0000 (UTC) Received: by mail-qc0-f197.google.com with SMTP id b14sf5539072qcs.8 for ; Thu, 25 Apr 2013 23:11:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-beenthere:x-received:received-spf :x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=9BaUQ/14/Vcl5HBsE7W3J/26IZ3lwGQqcGg7yo2MI/E=; b=hk13sD2Z2CN4PVbS1RiUmlwyGoR3xBwK5fkGBGwYIhf45XqlpInN/012/LvqVTJ+Sg huG4W3qngPzYEuN+cgLdQx/z6ozWfjmB3GpWsIdlbJef5xsiBUTdBo1GIUrzY5RH5DMH afxfPJN9X96d/EwZmJOhfzs+K8jTTog9uQ5NePm2kC1GR0uWGcfLSbF6AyZMTGSEkxae IKXk4hX+/iYOMKErfXB1BvPnxhfFZkE+O8wXjMnnY8QhKUEHSrrMsXGnBcDNfVDN40nA OqdsUOPrEKDxrD61UbjUhPKHFol2TQeQHrPdqFJZe8zj5VPotCSe2FNajyZdZzUUdgxo lHdg== X-Received: by 10.224.58.77 with SMTP id f13mr29295084qah.7.1366956700342; Thu, 25 Apr 2013 23:11:40 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.1.4 with SMTP id 4ls1746179qei.68.gmail; Thu, 25 Apr 2013 23:11:40 -0700 (PDT) X-Received: by 10.52.69.179 with SMTP id f19mr24117422vdu.93.1366956700105; Thu, 25 Apr 2013 23:11:40 -0700 (PDT) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id ex4si4803702vdb.105.2013.04.25.23.11.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 25 Apr 2013 23:11:40 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.173; Received: by mail-vc0-f173.google.com with SMTP id ia10so2200955vcb.32 for ; Thu, 25 Apr 2013 23:11:39 -0700 (PDT) X-Received: by 10.52.166.103 with SMTP id zf7mr24335826vdb.94.1366956699803; Thu, 25 Apr 2013 23:11:39 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.127.98 with SMTP id nf2csp54087veb; Thu, 25 Apr 2013 23:11:39 -0700 (PDT) X-Received: by 10.66.164.6 with SMTP id ym6mr29427499pab.92.1366956698730; Thu, 25 Apr 2013 23:11:38 -0700 (PDT) Received: from mail-pd0-f180.google.com (mail-pd0-f180.google.com [209.85.192.180]) by mx.google.com with ESMTPS id ye7si9300391pbc.326.2013.04.25.23.11.38 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 25 Apr 2013 23:11:38 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.180 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.192.180; Received: by mail-pd0-f180.google.com with SMTP id u10so2259460pdi.25 for ; Thu, 25 Apr 2013 23:11:38 -0700 (PDT) X-Received: by 10.67.3.2 with SMTP id bs2mr29619004pad.132.1366956698104; Thu, 25 Apr 2013 23:11:38 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id aj2sm10356945pbc.1.2013.04.25.23.11.35 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 25 Apr 2013 23:11:37 -0700 (PDT) From: Sachin Kamat To: dri-devel@lists.freedesktop.org Cc: inki.dae@samsung.com, jy0922.shim@samsung.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 1/1] drm/exynos: Remove unnecessary braces in exynos_hdmi.c Date: Fri, 26 Apr 2013 11:29:00 +0530 Message-Id: <1366955940-16915-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Gm-Message-State: ALoCoQmAeNziBcUjKwtsEKgCQwhbfObTDdsUCwuZqUHg2n62PHrVYQE7t36lK6dhHiBosj4tBpVV X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Silences the following checkpatch warning: WARNING: braces {} are not necessary for any arm of this statement Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_hdmi.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c index 93b70e9..bbfc384 100644 --- a/drivers/gpu/drm/exynos/exynos_hdmi.c +++ b/drivers/gpu/drm/exynos/exynos_hdmi.c @@ -1373,11 +1373,10 @@ static void hdmiphy_conf_apply(struct hdmi_context *hdata) return; } - if (hdata->type == HDMI_TYPE13) { + if (hdata->type == HDMI_TYPE13) hdmiphy_data = hdmiphy_v13_configs[i].conf; - } else { + else hdmiphy_data = hdmiphy_v14_configs[i].conf; - } memcpy(buffer, hdmiphy_data, 32); ret = i2c_master_send(hdata->hdmiphy_port, buffer, 32); @@ -1653,11 +1652,10 @@ static void hdmi_mode_set(void *ctx, void *mode) m->vrefresh, (m->flags & DRM_MODE_FLAG_INTERLACE) ? "INTERLACED" : "PROGERESSIVE"); - if (hdata->type == HDMI_TYPE13) { + if (hdata->type == HDMI_TYPE13) hdmi_v13_mode_set(hdata, mode); - } else { + else hdmi_v14_mode_set(hdata, mode); - } } static void hdmi_get_max_resol(void *ctx, unsigned int *width,