Received: by 10.223.176.5 with SMTP id f5csp381861wra; Sat, 27 Jan 2018 01:46:12 -0800 (PST) X-Google-Smtp-Source: AH8x225z3wUEuP2OeS8T0A7htvBrsAuK6i/32UwwKLc/0zLUnqcnOdIYPk4dkDwpLE1KiAEi9pzL X-Received: by 2002:a17:902:d681:: with SMTP id v1-v6mr16248724ply.170.1517046372376; Sat, 27 Jan 2018 01:46:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517046372; cv=none; d=google.com; s=arc-20160816; b=Kh+3APsCJ1yx1nPp0Lrqpq80BAUUENDMy0U/NQmJAdpbRrHOixKOLJMwROFU+gDfeV 6Stweggz5fHgA/sGc3wctQrqR0ofXR9y+sVeri/2NtDIizxXFge0kaUf+Z5S5dfeGT64 I8TR3RmYz+gFXVKdWaaTIOZF/US1fdv/1WjQEEFViZdPbfxuUU1HKOSbPIHLlYhJHOmy ZUs6ptbFkN4zYJa16dgdsQZlkKk/Vzx6UyAz0xCUjlozwRePCRvva3lTdVfVnVofNi+m kQoDfgaKavyLEhbfz45y5YXB7nM7X8Hi/yrxrdjMO9AvSwyXDUthGbEhSbrBgPTbhpzO 1I6A== 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=RkB5rHkpEx5x8Wh9R+X5X7UodkoXkDGiB890zsqzJ9s=; b=zsRPVCwqRX2AKViDmmDFgFMvq9h+81MGiPDH0aoLbkWQ67Rg9qivGvFLhnIUHZ75xW 6/OEyF0lvrNr7fVKuQSIJF/vjzW6WOJmuj9Vm6yVJ25KJ5oG2EvIWXdZJA/PgTtOD+kK q3jolMS4iH4lqvPmYdnysy7cd8BBWRfGa1oQEXpEKm1RtMJlcXR8WZw4Si49sBa4fC49 dCjUivjDn8T3Lz3wQP9K8qqOPrBOt/FvSVeKAD2lzdCSw/gmYWhxb9nGw8n5DCm1jwOz eQvtOaZjqIaf1adMt/3LbrO08P0TSmdXLYrrSdT5v6JoU0guFZrxsDORpB/7IXkEvRG8 tGSQ== 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 x15si4237196pgq.25.2018.01.27.01.45.58; Sat, 27 Jan 2018 01:46:12 -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 S1752459AbeA0Jog (ORCPT + 99 others); Sat, 27 Jan 2018 04:44:36 -0500 Received: from mail.CARNet.hr ([161.53.123.6]:53551 "EHLO mail.carnet.hr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751943AbeA0Jod (ORCPT ); Sat, 27 Jan 2018 04:44:33 -0500 Received: from [2001:b68:ff:12::131] (port=46586 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 1efN2D-0005Bo-VD; Sat, 27 Jan 2018 10:44:30 +0100 Received: by gavran.carpriv.carnet.hr (Postfix, from userid 1000) id 94C6D29850; Sat, 27 Jan 2018 10:44:29 +0100 (CET) From: Valentin Vidic To: Greg Kroah-Hartman Cc: Valentin Vidic , Marcus Wolf , Keerthi Reddy , =?UTF-8?q?Simon=20Sandstr=C3=B6m?= , Oliver Graute , Nguyen Phan Quang Minh , Al Viro , Srishti Sharma , Marcin Ciupak , Michael Panzlaff , =?UTF-8?q?Luca=20S=C3=B6the?= , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Date: Sat, 27 Jan 2018 10:42:13 +0100 Message-Id: <20180127094233.20234-4-Valentin.Vidic@CARNet.hr> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180127094233.20234-1-Valentin.Vidic@CARNet.hr> References: <20180127094233.20234-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 4/8] staging: pi433: fix CamelCase for Ohm identifiers 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/pi433_if.c | 2 +- drivers/staging/pi433/rf69.c | 4 ++-- drivers/staging/pi433/rf69_enum.h | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/pi433/Documentation/pi433.txt b/drivers/staging/pi433/Documentation/pi433.txt index 05f278180ca3..61ba9700d7dc 100644 --- a/drivers/staging/pi433/Documentation/pi433.txt +++ b/drivers/staging/pi433/Documentation/pi433.txt @@ -194,8 +194,8 @@ rf params: step_6_0db - increase in 6 db steps antenna_impedance sets the electrical adoption of the antenna - fiftyOhm - for antennas with an impedance of 50Ohm - twohundretOhm - for antennas with an impedance of 200Ohm + fifty_ohm - for antennas with an impedance of 50Ohm + two_hundred_ohm - for antennas with an impedance of 200Ohm lnaGain sets the gain of the low noise amp automatic - lna gain is determined by an agc diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging/pi433/pi433_if.c index edcd7e798f99..14712e1bd5eb 100644 --- a/drivers/staging/pi433/pi433_if.c +++ b/drivers/staging/pi433/pi433_if.c @@ -1183,7 +1183,7 @@ static int pi433_probe(struct spi_device *spi) retval = rf69_set_output_power_level(spi, 13); if (retval < 0) goto minor_failed; - retval = rf69_set_antenna_impedance(spi, fiftyOhm); + retval = rf69_set_antenna_impedance(spi, fifty_ohm); if (retval < 0) goto minor_failed; diff --git a/drivers/staging/pi433/rf69.c b/drivers/staging/pi433/rf69.c index 34ea865e55de..c69e63ffe537 100644 --- a/drivers/staging/pi433/rf69.c +++ b/drivers/staging/pi433/rf69.c @@ -389,9 +389,9 @@ int rf69_set_pa_ramp(struct spi_device *spi, enum paRamp paRamp) int rf69_set_antenna_impedance(struct spi_device *spi, enum antenna_impedance antenna_impedance) { switch (antenna_impedance) { - case fiftyOhm: + case fifty_ohm: return rf69_clear_bit(spi, REG_LNA, MASK_LNA_ZIN); - case twohundretOhm: + case two_hundred_ohm: return rf69_set_bit(spi, REG_LNA, MASK_LNA_ZIN); 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 7d0da84e2a29..5629af716e4f 100644 --- a/drivers/staging/pi433/rf69_enum.h +++ b/drivers/staging/pi433/rf69_enum.h @@ -61,8 +61,8 @@ enum paRamp { }; enum antenna_impedance { - fiftyOhm, - twohundretOhm + fifty_ohm, + two_hundred_ohm }; enum lnaGain { -- 2.15.1