Received: by 10.223.185.116 with SMTP id b49csp2267850wrg; Sun, 4 Mar 2018 23:03:58 -0800 (PST) X-Google-Smtp-Source: AG47ELuQX+H2RZGk3BVRjngvW/uailBw1SsaIvpkCRNVyLL126rqwISMtk8m7FZe2pJjOUq/Rp+i X-Received: by 10.99.108.129 with SMTP id h123mr4002645pgc.30.1520233438554; Sun, 04 Mar 2018 23:03:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520233438; cv=none; d=google.com; s=arc-20160816; b=jbeCwrLEnn5La9IvSPqSKOQ6a7NmNHbWEffOn5O//dV8LHtRE7o7xn+W7A7+mmEWpz 2i+xj5dT4t9JbMlbS9L9kzoSt9WdwnAcBOmWQkir0jUuFAA3GbJb3yPVFeu32a+UQZM5 ciiyp19bgqpRZeH7ZXj0oJ9S8LkigUdShTp7YvPP4zwVtdcqzLdoj8wF5KfAqtPqU6SI /CdoUaEACIR8sVZLmIbxu/uxOGpkqBYn90qPHe2t7zPD7vn48cgru9YpN4vQ6MUh+54L +mexkR1no/QqrfeDNDZJiT1tASSEOBNafRTA5nnY3nWi845hc22xw+s8yMBYLF2gmYJ0 fNjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:references:in-reply-to:message-id :date:cc:to:from:arc-authentication-results; bh=1NHQ3rjNiHLAL0yKWtfcBiqJG+Iz0/Cu2YRKxaD3eWc=; b=ApqtgjeKRCoRQFqmLN3+0sZGto8Efin+7bpOWFt5nsbikSUH16RqSG2MNVV+fhZJ0P C5Uvgxe2eXeugnWHNluaZGsk32JwxIIPyOscJl8RE2n+MkE3vGGqacoYPrbzj+5c3cwa YDk6GUs0flTlnn/UuL55LcV/Q8P3PN8UsSy5ARQX9Gc918XaSHEvQ84lT8//bmbp6KPK w5oXGVY0NyvYsSeUvgoOUokGw+vQrho0ScbJ89tulpOHuJ/b2QS6+SGfVAzfOY4ZNPwt wC6N97LW/nfpO4i5N48pmxV0M5Lp9ltoKfZNfVveT23PLRf1TdMDmqD/G8ChQ2BSQdow Gikg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 4si7962329pgh.771.2018.03.04.23.03.43; Sun, 04 Mar 2018 23:03:58 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932928AbeCEHCs (ORCPT + 99 others); Mon, 5 Mar 2018 02:02:48 -0500 Received: from mail.CARNet.hr ([161.53.123.6]:57981 "EHLO mail.carnet.hr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932830AbeCEHCj (ORCPT ); Mon, 5 Mar 2018 02:02:39 -0500 Received: from [2001:b68:ff:12::131] (port=38302 helo=gavran.carpriv.carnet.hr) by mail.carnet.hr with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1esk8r-0007Kj-Ic; Mon, 05 Mar 2018 08:02:38 +0100 Received: by gavran.carpriv.carnet.hr (Postfix, from userid 1000) id 601462428A; Mon, 5 Mar 2018 08:02:37 +0100 (CET) From: Valentin Vidic To: Greg Kroah-Hartman Cc: =?UTF-8?q?Simon=20Sandstr=C3=B6m?= , Marcus Wolf , =?UTF-8?q?Luca=20S=C3=B6the?= , Marcin Ciupak , Michael Panzlaff , Derek Robson , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Valentin Vidic Date: Mon, 5 Mar 2018 08:02:19 +0100 Message-Id: <20180305070219.7131-6-Valentin.Vidic@CARNet.hr> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180305070219.7131-1-Valentin.Vidic@CARNet.hr> References: <20180305070219.7131-1-Valentin.Vidic@CARNet.hr> X-SA-Exim-Connect-IP: 2001:b68:ff:12::131 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on rigel.CARNet.hr X-Spam-Level: X-Spam-Status: No, score=-2.9 required=10.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.2 Subject: [PATCH 6/6] staging: pi433: fix CamelCase for paRamp enum X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes checkpatch warning: CHECK: Avoid CamelCase: Signed-off-by: Valentin Vidic --- drivers/staging/pi433/Documentation/pi433.txt | 2 +- drivers/staging/pi433/pi433_if.h | 2 +- drivers/staging/pi433/rf69.c | 4 ++-- drivers/staging/pi433/rf69.h | 2 +- drivers/staging/pi433/rf69_enum.h | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/pi433/Documentation/pi433.txt b/drivers/staging/pi433/Documentation/pi433.txt index 2e8835bf2c9a..79bccc586869 100644 --- a/drivers/staging/pi433/Documentation/pi433.txt +++ b/drivers/staging/pi433/Documentation/pi433.txt @@ -92,7 +92,7 @@ rf params: shaping0_3 - gauss filter with BT 0.3 (FSK only) shapingBR - filter cut off at BR (OOK only) shaping2BR - filter cut off at 2*BR (OOK only) - paRamp (FSK only) + pa_ramp (FSK only) ramp3400 - amp ramps up in 3.4ms ramp2000 - amp ramps up in 2.0ms ramp1000 - amp ramps up in 1ms diff --git a/drivers/staging/pi433/pi433_if.h b/drivers/staging/pi433/pi433_if.h index b3fa4fe64c5c..be4a96055a97 100644 --- a/drivers/staging/pi433/pi433_if.h +++ b/drivers/staging/pi433/pi433_if.h @@ -67,7 +67,7 @@ struct pi433_tx_cfg { enum modulation modulation; enum mod_shaping mod_shaping; - enum paRamp pa_ramp; + enum pa_ramp pa_ramp; enum tx_start_condition tx_start_condition; diff --git a/drivers/staging/pi433/rf69.c b/drivers/staging/pi433/rf69.c index c143ffc7596f..e5c7e48a3b86 100644 --- a/drivers/staging/pi433/rf69.c +++ b/drivers/staging/pi433/rf69.c @@ -345,9 +345,9 @@ int rf69_set_output_power_level(struct spi_device *spi, u8 power_level) return rf69_read_mod_write(spi, REG_PALEVEL, MASK_PALEVEL_OUTPUT_POWER, power_level); } -int rf69_set_pa_ramp(struct spi_device *spi, enum paRamp paRamp) +int rf69_set_pa_ramp(struct spi_device *spi, enum pa_ramp pa_ramp) { - switch (paRamp) { + switch (pa_ramp) { case ramp3400: return rf69_write_reg(spi, REG_PARAMP, PARAMP_3400); case ramp2000: diff --git a/drivers/staging/pi433/rf69.h b/drivers/staging/pi433/rf69.h index 677091319d7e..d83808a5dd86 100644 --- a/drivers/staging/pi433/rf69.h +++ b/drivers/staging/pi433/rf69.h @@ -35,7 +35,7 @@ int rf69_set_frequency(struct spi_device *spi, u32 frequency); int rf69_enable_amplifier(struct spi_device *spi, u8 amplifier_mask); int rf69_disable_amplifier(struct spi_device *spi, u8 amplifier_mask); int rf69_set_output_power_level(struct spi_device *spi, u8 power_level); -int rf69_set_pa_ramp(struct spi_device *spi, enum paRamp paRamp); +int rf69_set_pa_ramp(struct spi_device *spi, enum pa_ramp pa_ramp); int rf69_set_antenna_impedance(struct spi_device *spi, enum antenna_impedance antenna_impedance); int rf69_set_lna_gain(struct spi_device *spi, enum lnaGain lnaGain); int rf69_set_bandwidth(struct spi_device *spi, enum mantisse mantisse, u8 exponent); diff --git a/drivers/staging/pi433/rf69_enum.h b/drivers/staging/pi433/rf69_enum.h index 43990e74db85..5ac3d33a3d0c 100644 --- a/drivers/staging/pi433/rf69_enum.h +++ b/drivers/staging/pi433/rf69_enum.h @@ -41,7 +41,7 @@ enum mod_shaping { SHAPING_2BR }; -enum paRamp { +enum pa_ramp { ramp3400, ramp2000, ramp1000, -- 2.16.1