Received: by 10.223.185.116 with SMTP id b49csp1458068wrg; Sun, 4 Mar 2018 02:17:32 -0800 (PST) X-Google-Smtp-Source: AG47ELuT6TI/zdQWNXQOdXjuhqQRkBy8sx8epOn8YjXTbUJHOQRW6aUj4XtxSkCFp+YnUnMposcF X-Received: by 2002:a17:902:68cc:: with SMTP id x12-v6mr9907102plm.198.1520158652570; Sun, 04 Mar 2018 02:17:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520158652; cv=none; d=google.com; s=arc-20160816; b=YKtIqJOkwUrCaLyU4hJ42U2rPbQmr0FH3cNat6REKpFtiCIPB/46FX3/aiRAzL6rWq RjedMFlwJwXkruo9kloRNxuh/H4MimKPWO0vbPQST4yxqzmP6f5FJk+h3JWpkJjQJTFH LfoXGEtSDqcXyE53Sy2Q+fHWzL0LYp+P5xsyatnTr870HmiMARdvKLV2vLTQt9Ks+U5G 8rOlIYC2X6xOLuN1BY+VPOflH+BRtlUohe2Pfkso/rM3K0Q6pHzvJjtSgeJza/+4X5hn jzmuPR+pjPzSL4Eh7rYnLLquQF7LALDw0zomJssjgI/M5FF3tg/dA5f+kpcf2iiGTQ7K 52+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:message-id:date:cc:to:from :arc-authentication-results; bh=1NHQ3rjNiHLAL0yKWtfcBiqJG+Iz0/Cu2YRKxaD3eWc=; b=PbNk1SjGiHj+8AsTwCQqx4TlZxMZp30rgOfVYChXZszaeq+IEW55exD13whbkknm5m UKSZQYTbnOncMsVmZKhWCG2XMNgBADCtQ94cnoi9YNeDx89W09ZB+Y9N3Xy8cFLQWvWC LOzUw2hZdwmr8V1xJ15vqI/UoGQN7YUTamXjKinzVWD+JYgwGN5dTP04gaFIf8/dZ92L 1RLYbHM22ly8XZFbSHaZQEKKQx3pnYXzCJkhXgBj47d+tk4YnQrXlOMPZrttOHMygC7K 6TXoe+nvuMTaMDNS5mxnUZNtuNgGW0ZXvbJF1J4rUEpeyUHIiq7TDFxB1AkyWbDKTWqL y+Hw== 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 s78si8211082pfa.374.2018.03.04.02.17.07; Sun, 04 Mar 2018 02:17:32 -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 S932322AbeCDJ4t (ORCPT + 99 others); Sun, 4 Mar 2018 04:56:49 -0500 Received: from mail.CARNet.hr ([161.53.123.6]:56029 "EHLO mail.carnet.hr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932290AbeCDJ4r (ORCPT ); Sun, 4 Mar 2018 04:56:47 -0500 Received: from cnzgrivvl-t440p.carpriv.carnet.hr ([161.53.12.131]:43988 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 1esQNp-00055m-Jr; Sun, 04 Mar 2018 10:56:46 +0100 Received: by gavran.carpriv.carnet.hr (Postfix, from userid 1000) id 7637A24425; Sun, 4 Mar 2018 10:56:45 +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: Sun, 4 Mar 2018 10:56:44 +0100 Message-Id: <20180304095644.10590-1-Valentin.Vidic@CARNet.hr> X-Mailer: git-send-email 2.16.1 X-SA-Exim-Connect-IP: 161.53.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, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 Subject: [PATCH] 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