From patchwork Thu Nov 15 03:43:28 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 1747611 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork1.kernel.org (Postfix) with ESMTP id 0076F3FC64 for ; Thu, 15 Nov 2012 08:49:53 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E39A29E8A8 for ; Thu, 15 Nov 2012 00:49:52 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pb0-f49.google.com (mail-pb0-f49.google.com [209.85.160.49]) by gabe.freedesktop.org (Postfix) with ESMTP id F03BB9E746 for ; Wed, 14 Nov 2012 19:49:28 -0800 (PST) Received: by mail-pb0-f49.google.com with SMTP id un15so805807pbc.36 for ; Wed, 14 Nov 2012 19:49:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=XuSCag2YbqI3A1Vv4WKKwQOIjiJIgIC+7JuZgBacEh4=; b=FuCH2GRgSKQcy3N+uLu8zs2v5xpNT9L0gA3QPI7t4uGZbf3TLa5lL7SKDap34mLpNk 7FplbHmlhpwzfacBAf/kt6norSkq58sHgVwPWBX6XG2B1XHOh1aZVKxJQr/e7g/Hcq5L Z8oha4qdzgxcmD4hQWmTlUTgWMlWttNPBChnharEUZSIRiQNUzORvQIE9YVAPAAkE4HP ZSKIIl0TcRdNsLni/6MeonecpBny9iOQes45BzJPW9rzTwJOxu3HUBy/K3JDFaLRKCrR k2OBdcw/RLmuQ8lDBNvTMtZS+taRvu4qNLV7L342zcJst1PRBGkbawBDdr+QibPTi4cC UFfw== Received: by 10.68.252.133 with SMTP id zs5mr439770pbc.152.1352951368877; Wed, 14 Nov 2012 19:49:28 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id jw10sm8782970pbb.20.2012.11.14.19.49.26 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 14 Nov 2012 19:49:28 -0800 (PST) From: Sachin Kamat To: dri-devel@lists.freedesktop.org Subject: [PATCH 1/3] drm/fb_helper: Fix checkpatch errors Date: Thu, 15 Nov 2012 09:13:28 +0530 Message-Id: <1352951010-25393-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1352951010-25393-1-git-send-email-sachin.kamat@linaro.org> References: <1352951010-25393-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQk2JabR5vyKMtima3N0yoPJC4dnWlAW8Mplbg44O1M+mdAPCW7rvrQkD0EtDoWBRfFaXZS8 X-Mailman-Approved-At: Thu, 15 Nov 2012 00:48:50 -0800 Cc: sachin.kamat@linaro.org, patches@linaro.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Fixes the following checkpatch errors: ERROR: trailing statements should be on next line 98: FILE: gpu/drm/drm_fb_helper.c:98: case DRM_FORCE_OFF: s = "OFF"; break; ERROR: trailing statements should be on next line 99: FILE: gpu/drm/drm_fb_helper.c:99: case DRM_FORCE_ON_DIGITAL: s = "ON - dig"; break; ERROR: trailing statements should be on next line 101: FILE: gpu/drm/drm_fb_helper.c:101: case DRM_FORCE_ON: s = "ON"; break; Signed-off-by: Sachin Kamat --- drivers/gpu/drm/drm_fb_helper.c | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c index 4d58d7e..9b60e93 100644 --- a/drivers/gpu/drm/drm_fb_helper.c +++ b/drivers/gpu/drm/drm_fb_helper.c @@ -95,10 +95,16 @@ static int drm_fb_helper_parse_command_line(struct drm_fb_helper *fb_helper) if (mode->force) { const char *s; switch (mode->force) { - case DRM_FORCE_OFF: s = "OFF"; break; - case DRM_FORCE_ON_DIGITAL: s = "ON - dig"; break; + case DRM_FORCE_OFF: + s = "OFF"; + break; + case DRM_FORCE_ON_DIGITAL: + s = "ON - dig"; + break; default: - case DRM_FORCE_ON: s = "ON"; break; + case DRM_FORCE_ON: + s = "ON"; + break; } DRM_INFO("forcing %s connector %s\n",