Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp1858077imb; Sun, 3 Mar 2019 08:56:58 -0800 (PST) X-Google-Smtp-Source: APXvYqzcGJMwYfszPtHjL3atUbD85DYMp823YttHakap18B1vkKL4x+YKB8/OnDMZVrTmI6Ds8LA X-Received: by 2002:a17:902:7782:: with SMTP id o2mr16188608pll.315.1551632217966; Sun, 03 Mar 2019 08:56:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551632217; cv=none; d=google.com; s=arc-20160816; b=SdkTLyIQWz+i3ZnWPRh/AjDkmWdpZi+rWBDIxGlT3kE15c4cQKRsgOLkwVDQ4gb6Xp zQpNaCfZXMGRxShoMSach5OL0TaN917wn4im/cI5m4nYFWjC1ineHZD6GF+wPOimH779 YtqCyOZeR7YS6y2ObzY2qnfaiTCWov6pmcYZk22ECgVCqhwu5Yj4VeDxNRX0wIdgs+V5 v2y2e6nzN4Yz9UtsCPsZ7zLZTnOld6Z5+TSAKW8XHomJoG5lXLcA9/TyDe0+rJQCcFyX xQdS8M8tYvc7pYosNlxzX0GwiB1Yqj/mtgvhpamUr74f7FUm0dFft5PNiOorHU/uTItA koXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=eA+JfvS1aYncrskjVpunSCMExAjlraCPaBwFZki7phY=; b=F3W9f7eKr1sK/p7wPbPKG7sK0MtUV9ru2iylqrOwcJ2eOB/E1r1YxauKkKgp6lC+0j HYjqrt02kbkgdrqluQ2ukCzlaPc5Ohs2gR8SS+jzKpDPWXkohG8JDO5vNjKYzev04txO O2B2YtN0A7GtzMUXvv4uNjdHiFjubYyVo9p1HYiygxugzq74g/eZZnqQ6iXTKIOd9Zfs oPlLuRUg53ufM6f0v1Tl0wYYNE19n3wzGttuFlacweBbgSmPlUxUU5vRkIQvHjXGD6Ab jJJI2s6RP/UcPu4fR8YK/bHFrKcMFVMcvZMiVuXrgN0ntPKENLEbX084OegmLqjW9dS6 iojA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tomli.me header.s=1490979754 header.b=lS8vo+k8; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=tomli.me Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c132si3174990pfg.5.2019.03.03.08.56.42; Sun, 03 Mar 2019 08:56:57 -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=@tomli.me header.s=1490979754 header.b=lS8vo+k8; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=tomli.me Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726520AbfCCQz6 (ORCPT + 99 others); Sun, 3 Mar 2019 11:55:58 -0500 Received: from tomli.me ([153.92.126.73]:42626 "EHLO tomli.me" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726428AbfCCQz4 (ORCPT ); Sun, 3 Mar 2019 11:55:56 -0500 Received: from tomli.me (localhost [127.0.0.1]) by tomli.me (OpenSMTPD) with ESMTP id 855162e8; Sun, 3 Mar 2019 16:55:54 +0000 (UTC) X-HELO: localhost.lan Authentication-Results: tomli.me; auth=pass (login) smtp.auth=tomli Received: from Unknown (HELO localhost.lan) (2402:f000:1:1501:200:5efe:3d30:3659) by tomli.me (qpsmtpd/0.95) with ESMTPSA (DHE-RSA-CHACHA20-POLY1305 encrypted); Sun, 03 Mar 2019 16:55:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tomli.me; h=from:to:cc:subject:date:message-id:in-reply-to:references:mime-version:content-transfer-encoding; s=1490979754; bh=In5+wEpZ+A7H086V4WiG1jXm7trt64OIVFCTapa2uOo=; b=lS8vo+k8GX3j6Vzl4mTn50Y1uor5kSc19GJuU0AspKjFxa+G5sBf52xowOSi9MANa9nbXz7EXwgzQ3FoeUCUKkDN4kpcbZQioD25+Pc/D6/8f8EkvCcUo2M02OgX6j0CL1nxyTaB38Z3gRWUlMium5LGoXD3naMKlCw/XlqiSX57e+8SNPrVC533U/wOKPWaPbX/qyHrLd1N7BVexwAEhEBjQ7v0e2bOp5EffB4HFjiK+r62i1gbbGAd4ZIMzoUHtIfVgWnoW487PeWD8f6mrkrWfgLrMLpiExb9x0qDe9lmaNsDvG1d6p34ScaOouAnb2BSbHxmAbckxD/TQPGCsA== From: Yifeng Li To: Jiri Kosina , Greg Kroah-Hartman , linux-fbdev@vger.kernel.org, devel@driverdev.osuosl.org Cc: Yifeng Li , Sudip Mukherjee , Teddy Wang , linux-kernel@vger.kernel.org, Jin Chen Subject: [RESEND][PATCH 2/2] staging: sm750fb: trivial Camel Case removal for setDisplayControl(). Date: Mon, 4 Mar 2019 00:55:32 +0800 Message-Id: <20190303165532.23727-3-tomli@tomli.me> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190303165532.23727-1-tomli@tomli.me> References: <20190303165532.23727-1-tomli@tomli.me> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rename the function setDisplayControl() to set_display_control(). This fixes the following checkpatch.pl warning: CHECK: Avoid CamelCase: Suggested-by: Jin Chen Signed-off-by: Jin Chen [tomli@tomli.me: resent as trivial patch, reworded the commit message] Signed-off-by: Yifeng Li --- drivers/staging/sm750fb/ddk750_display.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_display.c b/drivers/staging/sm750fb/ddk750_display.c index 1273e7d18925..f38051eedb6c 100644 --- a/drivers/staging/sm750fb/ddk750_display.c +++ b/drivers/staging/sm750fb/ddk750_display.c @@ -5,7 +5,7 @@ #include "ddk750_power.h" #include "ddk750_dvi.h" -static void setDisplayControl(int ctrl, int disp_state) +static void set_display_control(int ctrl, int disp_state) { /* state != 0 means turn on both timing & plane en_bit */ unsigned long reg, val, reserved; @@ -137,12 +137,12 @@ void ddk750_setLogicalDispOut(enum disp_output output) if (output & PRI_TP_USAGE) { /* set primary timing and plane en_bit */ - setDisplayControl(0, (output & PRI_TP_MASK) >> PRI_TP_OFFSET); + set_display_control(0, (output & PRI_TP_MASK) >> PRI_TP_OFFSET); } if (output & SEC_TP_USAGE) { /* set secondary timing and plane en_bit*/ - setDisplayControl(1, (output & SEC_TP_MASK) >> SEC_TP_OFFSET); + set_display_control(1, (output & SEC_TP_MASK) >> SEC_TP_OFFSET); } if (output & PNL_SEQ_USAGE) { -- 2.20.1