From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 673906D0E for ; Wed, 7 Apr 2021 06:37:14 +0000 (UTC) Received: by mail-pl1-f171.google.com with SMTP id v8so8817311plz.10 for ; Tue, 06 Apr 2021 23:37:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=dQrlDf0eDikumeOMgJ6ztK4P1o0ZR5DUf/qDrdQaE4g=; b=tVYXTWuH1N0C4RnwthpEI3savbkYox+RhtgZ2mFjU8Q7w6GEMIFs94zjEVTulflvkC Ouzrln1JTlBxQ2EJs77a04jkH/i/DeOq4236o8hwIO+uznKVPK8M8AarByMRIIZvIzoC tQe13+tZyS5cgQYS1ZWGltd1tcXmkr8OReKNt7ZXdypm/pcPhssPfPCfALQaF5LPL7Dy WleV/RfwrM5YKlIceCYNGfGLlHIOpOpPhu4sE/HUutrCFG8kow9svNXrhfNig5eyOd6Q aIPLNzsmQGReAWKrAkOsxCMF1ScpsoLWZ/0FSpma5VZe0zvSaosLD9VFcLiVywTnlk9f Azaw== 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:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=dQrlDf0eDikumeOMgJ6ztK4P1o0ZR5DUf/qDrdQaE4g=; b=W3QFPzrevigmU+DwpuqUlxLWkjGsNhfImpRf8viOIp6EtHwhWyo9QKujMrrDi1Gdud Znflvqq4Bh38NW/ZdonTlE5N4QFPWxXPsH+7A22BZgLygHq8tsUpP8x9ng4wGyNGVajs dx26I6DCBhswxu0RjQlnhiQr7t5e/Y2iuIgL5nJPM7ozDnsQmUtx14FJzD4kQ5eqGRCa 5EJMzZv3nU56vn30n4kx/mqJYYQeu+xnWgiTGtoXLi56XZc5bKLX0lnKvC4D6mF1to93 /YhbrrrGV7292oZ+xkjAzvBiAysXIqbNprhz5/8TxQyaq/poGJv1x1nU/qhzKwIDEAa4 KmpQ== X-Gm-Message-State: AOAM532uTMnWlHdQyF1tATU+oCRQZo5CchG16l4iYw47UxOtYR87ErFW UnLN6LcD3mR/hEgN939cFVM= X-Google-Smtp-Source: ABdhPJwC2wF7XTq33ajE5NYMbxgVzCijJmae94EWZ6VhqV/eqM/QG7L8Et10IrnpxCRWw5hT/mrC2Q== X-Received: by 2002:a17:902:d4c7:b029:e9:543c:58bc with SMTP id o7-20020a170902d4c7b02900e9543c58bcmr1757708plg.20.1617777433926; Tue, 06 Apr 2021 23:37:13 -0700 (PDT) Received: from localhost.localdomain ([134.173.248.5]) by smtp.gmail.com with ESMTPSA id j21sm18707903pfc.114.2021.04.06.23.37.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Apr 2021 23:37:13 -0700 (PDT) Date: Tue, 6 Apr 2021 23:37:11 -0700 From: Pavle Rohalj To: sudipm.mukherjee@gmail.com, teddy.wang@siliconmotion.com, gregkh@linuxfoundation.org, linux-fbdev@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v2 16/49] staging: sm750fb: Update function parameter names in ddk750_sii164.c Message-ID: <53df8b6501a7849644fba613e194bfc297abb7c7.1617776878.git.pavle.rohalj@gmail.com> References: X-Mailing-List: linux-staging@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Fix "Avoid CamelCase" checkpatch.pl checks for function parameters in ddk750_sii164.c. Signed-off-by: Pavle Rohalj --- drivers/staging/sm750fb/ddk750_sii164.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_sii164.c b/drivers/staging/sm750fb/ddk750_sii164.c index a7e0f001d96f..869d74f53a6a 100644 --- a/drivers/staging/sm750fb/ddk750_sii164.c +++ b/drivers/staging/sm750fb/ddk750_sii164.c @@ -277,14 +277,14 @@ char *sii164_get_chip_string(void) * This function sets the power configuration of the DVI Controller Chip. * * Input: - * powerUp - Flag to set the power down or up + * power_up - Flag to set the power down or up */ -void sii164_set_power(unsigned char powerUp) +void sii164_set_power(unsigned char power_up) { unsigned char config; config = i2c_read_reg(SII164_I2C_ADDRESS, SII164_CONFIGURATION); - if (powerUp == 1) { + if (power_up == 1) { /* Power up the chip */ config &= ~SII164_CONFIGURATION_POWER_MASK; config |= SII164_CONFIGURATION_POWER_NORMAL; @@ -302,13 +302,13 @@ void sii164_set_power(unsigned char powerUp) * This function selects the mode of the hot plug detection. */ static -void sii164_select_hot_plug_detection_mode(enum sii164_hot_plug_mode hotPlugMode) +void sii164_select_hot_plug_detection_mode(enum sii164_hot_plug_mode hot_plug_mode) { unsigned char detectReg; detectReg = i2c_read_reg(SII164_I2C_ADDRESS, SII164_DETECT) & ~SII164_DETECT_MONITOR_SENSE_OUTPUT_FLAG; - switch (hotPlugMode) { + switch (hot_plug_mode) { case SII164_HOTPLUG_DISABLE: detectReg |= SII164_DETECT_MONITOR_SENSE_OUTPUT_HIGH; break; @@ -332,9 +332,9 @@ void sii164_select_hot_plug_detection_mode(enum sii164_hot_plug_mode hotPlugMode * sii164_enable_hot_plug_detection * This function enables the Hot Plug detection. * - * enableHotPlug - Enable (=1) / disable (=0) Hot Plug detection + * enable_hot_plug - Enable (=1) / disable (=0) Hot Plug detection */ -void sii164_enable_hot_plug_detection(unsigned char enableHotPlug) +void sii164_enable_hot_plug_detection(unsigned char enable_hot_plug) { unsigned char detectReg; @@ -343,7 +343,7 @@ void sii164_enable_hot_plug_detection(unsigned char enableHotPlug) /* Depending on each DVI controller, need to enable the hot plug based * on each individual chip design. */ - if (enableHotPlug != 0) + if (enable_hot_plug != 0) sii164_select_hot_plug_detection_mode(SII164_HOTPLUG_USE_MDI); else sii164_select_hot_plug_detection_mode(SII164_HOTPLUG_DISABLE); -- 2.30.2