From patchwork Sat May 8 09:33:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen \(ThunderTown\)" X-Patchwork-Id: 432601 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp1092849jao; Sat, 8 May 2021 02:34:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLMVx8TQ6wQKR2vf9Vy98IUL9rGaI9u/3zHonJjkYPayba/bRtPkIPtc/vQyzI8iH4IUb7 X-Received: by 2002:a17:90b:360f:: with SMTP id ml15mr28014187pjb.26.1620466451605; Sat, 08 May 2021 02:34:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620466451; cv=none; d=google.com; s=arc-20160816; b=Pe3p3dwtdqfHDYI7A4/19TbwPRLTF/oHY5A3YxAF+5O8M0qn8ICcFI4pMwVUTju3kR 4zD0aabm0xUTlCHu61dI22Oxgd+g+Olrz+jZbgeoxKAlgWFy+i79yZyM1rAliwOhi44/ O/b/nd0KNr2dQB7xvF/sPLk+P0GN/4MI9llsz7F8kbh1Wvdrf2ntlzI6PaIvxssoyYyK PNnmrAGGWDDuWuCacKgSyx918bHO9KsjHp8+LMpO6yDxf14TzsfU9SLuWlAmbYlUe31R MwLg//UeWYgjnyANpQ5Wzuqj5J1hox3QUzBeADXVQJPFflVp7nXOEBFkeM+0s24MjnCL ivJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:delivered-to; bh=f/kvgYf1NDbJrdep9iziZ5koOxkPtakPoxYH25wmR7I=; b=R233ILqD4ns1fdVWcVj5YCLXdAikotLy9InmEuwBI/bzGyklA58l6AM60QtIFXfg4k BeyJ9JREbY3YVLyRBepX83lvYaPI8S3IEdtZaFKBRqAa5JvjWihkeGyGYNQjPi+GOExP b2dsrVDnYKmXI7OBZ9g7o2qi3hxMNYG3UyIE3TWSJc2pH2eVmrzPqmaE1aCFceD8NuKl WXeWxaIruP2RmLDD46ZOQbljAeQIXaActRZOjG0LKAFpH0AxCgnZ1jE5gu5GyXXZ4vhh Ijsn27yX4cJ1hkCEM83kO0CzkXbQsOruAs6z6fS3sE87piBPHPgx49wllaXFN50k5v1G NGAw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id s12si9909973plg.183.2021.05.08.02.34.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 May 2021 02:34:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8D67A6E879; Sat, 8 May 2021 09:34:10 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from szxga04-in.huawei.com (szxga04-in.huawei.com [45.249.212.190]) by gabe.freedesktop.org (Postfix) with ESMTPS id CDF1F6E879 for ; Sat, 8 May 2021 09:34:09 +0000 (UTC) Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4FchsG5B6cz1BJPP; Sat, 8 May 2021 17:31:30 +0800 (CST) Received: from thunder-town.china.huawei.com (10.174.177.72) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.498.0; Sat, 8 May 2021 17:33:58 +0800 From: Zhen Lei To: Anitha Chrisanthus , Edmund Dea , David Airlie , Daniel Vetter , dri-devel , linux-kernel Subject: [PATCH 1/1] drm/kmb: Remove several unneeded semicolons Date: Sat, 8 May 2021 17:33:49 +0800 Message-ID: <20210508093349.2730-1-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 MIME-Version: 1.0 X-Originating-IP: [10.174.177.72] X-CFilter-Loop: Reflected X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Zhen Lei Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The semicolon immediately following '}' is unneeded. Signed-off-by: Zhen Lei --- drivers/gpu/drm/kmb/kmb_dsi.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) -- 2.26.0.106.g9fadedd diff --git a/drivers/gpu/drm/kmb/kmb_dsi.c b/drivers/gpu/drm/kmb/kmb_dsi.c index 4b5d82af84b3014..231041b269f5395 100644 --- a/drivers/gpu/drm/kmb/kmb_dsi.c +++ b/drivers/gpu/drm/kmb/kmb_dsi.c @@ -281,7 +281,7 @@ static u32 mipi_get_datatype_params(u32 data_type, u32 data_mode, default: DRM_ERROR("DSI: Invalid data_mode %d\n", data_mode); return -EINVAL; - }; + } break; case DSI_LP_DT_PPS_YCBCR422_16B: data_type_param.size_constraint_pixels = 2; @@ -301,7 +301,7 @@ static u32 mipi_get_datatype_params(u32 data_type, u32 data_mode, default: DRM_ERROR("DSI: Invalid data_mode %d\n", data_mode); return -EINVAL; - }; + } break; case DSI_LP_DT_LPPS_YCBCR422_20B: case DSI_LP_DT_PPS_YCBCR422_24B: @@ -318,7 +318,7 @@ static u32 mipi_get_datatype_params(u32 data_type, u32 data_mode, default: DRM_ERROR("DSI: Invalid data_mode %d\n", data_mode); return -EINVAL; - }; + } break; case DSI_LP_DT_PPS_RGB565_16B: data_type_param.size_constraint_pixels = 1; @@ -337,7 +337,7 @@ static u32 mipi_get_datatype_params(u32 data_type, u32 data_mode, default: DRM_ERROR("DSI: Invalid data_mode %d\n", data_mode); return -EINVAL; - }; + } break; case DSI_LP_DT_PPS_RGB666_18B: data_type_param.size_constraint_pixels = 4; @@ -361,7 +361,7 @@ static u32 mipi_get_datatype_params(u32 data_type, u32 data_mode, default: DRM_ERROR("DSI: Invalid data_type %d\n", data_type); return -EINVAL; - }; + } *params = data_type_param; return 0;