Received: by 10.213.65.68 with SMTP id h4csp1234426imn; Wed, 14 Mar 2018 13:47:28 -0700 (PDT) X-Google-Smtp-Source: AG47ELv0UgiHh0ieZ1CiUWPkBVRUVCf/hCfq45U26RtTUTnyorgiVdG7/NdwoqSxiOQCoWBqsMEu X-Received: by 10.101.69.133 with SMTP id o5mr1494124pgq.156.1521060448442; Wed, 14 Mar 2018 13:47:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521060448; cv=none; d=google.com; s=arc-20160816; b=MYU1kqXAiS6ZGPHng8Xt2IdyAAS+sLIaGXC7iiXdQ1ea+5/hLUyG8oQVVK0cK6NpLP 9DIqHyIZUNrRVU8+U9aUqVZuDj7LjvD1aL7d/aBVDGgWse9uxHrnJvbUMScUwZS67zje 1iDx/Q62JH+Yi10IK290f9qDlWpdEDgfrfT2A0+ZPcqci1sACHn8Uio5wZFcLwf0CqMm HBOK29wg/jOrBRgK5MDPfWSK7unKqiQak9WYYgT/7NET76JyjrQV4+yQ5O33bQvEHciT 70k2puTmJXdjBMMr2fj2PQiu1/p1L4RfG5yI6jiwi0bA1WIwSbBapDGrhMa0jn7eTvhs QMgQ== 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=hft6bJLV2cmVIlJMstCsfPd8eANAGTKipM2GiMj61JU=; b=aXy9sVHW06TfHgJfPPVzxdlt/L/kLkn2sKXtTE/Q6CFByfxLKlQXZFkqWRdHESz8MZ DEEChJNrWCwGmAFCEFi06Sc7PxwtUdCSsMAec8gX1YGSFo2vjYh2FqnsPK3vxVEp5go+ K2Ff80/VGsCcXJnF/I4lGUqjMHL9DzxXI9WBvCEx5C1YOC/1/bbl+9HpWrFwYujMyWih 8/Rq9sGUTx2dud+a8Fu1ifa5I/Rl6XMdxtS89Ca0de2oAG+d0n4TNb8wLzUcqjnb9Eda Lbk3jOci6t8g5hxvKeKuHHaeTSHjX93NenbtjwJrtQ8C+zjqzwmVRxmKX2Wo9LvHk4N/ s2uA== 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 f3si2350689pgu.783.2018.03.14.13.47.14; Wed, 14 Mar 2018 13:47:28 -0700 (PDT) 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 S1752186AbeCNUqD (ORCPT + 99 others); Wed, 14 Mar 2018 16:46:03 -0400 Received: from mail.CARNet.hr ([161.53.123.6]:43657 "EHLO mail.carnet.hr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751700AbeCNUoY (ORCPT ); Wed, 14 Mar 2018 16:44:24 -0400 Received: from [2001:b68:ff:12::131] (port=41042 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 1ewDG1-0007NB-SZ; Wed, 14 Mar 2018 21:44:22 +0100 Received: by gavran.carpriv.carnet.hr (Postfix, from userid 1000) id 8E3BA244B4; Wed, 14 Mar 2018 21:44:21 +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: Wed, 14 Mar 2018 21:44:07 +0100 Message-Id: <20180314204407.2777-7-Valentin.Vidic@CARNet.hr> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180314204407.2777-1-Valentin.Vidic@CARNet.hr> References: <20180314204407.2777-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, URIBL_BLOCKED autolearn=ham version=3.3.2 Subject: [PATCH 7/7] staging: pi433: fix CamelCase for dagc 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 warnings: CHECK: Avoid CamelCase: CHECK: Avoid CamelCase: Signed-off-by: Valentin Vidic --- drivers/staging/pi433/Documentation/pi433.txt | 4 ++-- drivers/staging/pi433/rf69.c | 4 ++-- drivers/staging/pi433/rf69_enum.h | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/pi433/Documentation/pi433.txt b/drivers/staging/pi433/Documentation/pi433.txt index 3bb38644eb6e..d0b7000faafc 100644 --- a/drivers/staging/pi433/Documentation/pi433.txt +++ b/drivers/staging/pi433/Documentation/pi433.txt @@ -215,9 +215,9 @@ rf params: Allowd values: 0...7 dagc; operation mode of the digital automatic gain control - normalMode + normal_mode improve - improve4LowModulationIndex + improve_for_low_modulation_index packet format: enable_sync diff --git a/drivers/staging/pi433/rf69.c b/drivers/staging/pi433/rf69.c index 0bc459e32f6b..5b0554823263 100644 --- a/drivers/staging/pi433/rf69.c +++ b/drivers/staging/pi433/rf69.c @@ -751,11 +751,11 @@ int rf69_set_fifo_threshold(struct spi_device *spi, u8 threshold) int rf69_set_dagc(struct spi_device *spi, enum dagc dagc) { switch (dagc) { - case normalMode: + case normal_mode: return rf69_write_reg(spi, REG_TESTDAGC, DAGC_NORMAL); case improve: return rf69_write_reg(spi, REG_TESTDAGC, DAGC_IMPROVED_LOWBETA0); - case improve4LowModulationIndex: + case improve_for_low_modulation_index: return rf69_write_reg(spi, REG_TESTDAGC, DAGC_IMPROVED_LOWBETA1); default: dev_dbg(&spi->dev, "set: illegal input param"); diff --git a/drivers/staging/pi433/rf69_enum.h b/drivers/staging/pi433/rf69_enum.h index eabaea99949d..493bd0025453 100644 --- a/drivers/staging/pi433/rf69_enum.h +++ b/drivers/staging/pi433/rf69_enum.h @@ -135,9 +135,9 @@ enum address_filtering { }; enum dagc { - normalMode, + normal_mode, improve, - improve4LowModulationIndex + improve_for_low_modulation_index }; #endif -- 2.16.2