Received: by 10.223.176.5 with SMTP id f5csp382390wra; Sat, 27 Jan 2018 01:47:01 -0800 (PST) X-Google-Smtp-Source: AH8x227/q639gfHHgtTAMyZ7ovoK2UIKbT3xrfGjqwE/qQBA80dD+icCAo4MGVenpixJ2o7CYw59 X-Received: by 10.101.73.12 with SMTP id p12mr2510752pgs.286.1517046421530; Sat, 27 Jan 2018 01:47:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517046421; cv=none; d=google.com; s=arc-20160816; b=PwYqboVYwl/UMN1y8wn+d0cmp+jsnMzE9bY4EOhJ7V2qFPOJH8DuX1XiDhaNb7f7a6 xSG/xGpxpqs1JG21Xvm71W/lFSGG0KXwkY7vpy4ourYfn7OayrE/r3GtEKf+cpBC/gnG +Nn8Eb8sZQsoZqHGyadAMXe7P/QfIX5AhIQ8LtzG9wden2JFU6iesTRcTgcOfiNQi/PD 0CEi4CweJ7HhjKnpuRXX1B9arzpohijzVKReWhjha2pmZbMsmckmVun+xMxAl9JzIKsH VmQQCuz6nxCyN2uN664hGMZETNP6oN/lGxoqLYIyxpg9kAE0xfXveheCz1RLQ/rHzLZ8 GMjw== 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=KydQSVYm80FG/wxnH2nvujTEVG06m0Z5xdZZzTZT0EQ=; b=klgc+85xGsj7nENLE6TiiF+tWMj60JGeO95whUi9YaulStJL7E2n9XqiBSMCWgoFIw tHHfqvusf0UU53GK2hXBnnUV+pwq+yEbUI5Yfi1yhWny4HLn3Hta1kcHuH9W6xgHG2dv tFWdbtxKHQSg+jaP0S6gTqPvSb71k+kCJjTHQJ0SU/PgnDFq1ITAIa6zssy3r2vJQDjV fFBf9PFskafhePn2TGxxu9732i+cXxEUePVVB5BweOnQik4k21VJEEyegdSxV+4CIV0p 53a5JH4UYj+ovrQ5otwr9ywebvq6s1CEvPW1wFLcfdLp7MWNuBnI7eDSuvIcpWt/foI7 nX/Q== 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 71si7793628pfm.214.2018.01.27.01.46.47; Sat, 27 Jan 2018 01:47:01 -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 S1752780AbeA0JpS (ORCPT + 99 others); Sat, 27 Jan 2018 04:45:18 -0500 Received: from mail.CARNet.hr ([161.53.123.6]:51187 "EHLO mail.carnet.hr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752493AbeA0JpP (ORCPT ); Sat, 27 Jan 2018 04:45:15 -0500 Received: from cnzgrivvl-t440p.carpriv.carnet.hr ([161.53.12.131]:47550 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 1efN2v-0005FT-6G; Sat, 27 Jan 2018 10:45:13 +0100 Received: by gavran.carpriv.carnet.hr (Postfix, from userid 1000) id 0FF3029850; Sat, 27 Jan 2018 10:45:13 +0100 (CET) From: Valentin Vidic To: Greg Kroah-Hartman Cc: Valentin Vidic , Marcin Ciupak , =?UTF-8?q?Simon=20Sandstr=C3=B6m?= , Marcus Wolf , Michael Panzlaff , Derek Robson , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Date: Sat, 27 Jan 2018 10:42:17 +0100 Message-Id: <20180127094233.20234-8-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: 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,URIBL_BLOCKED autolearn=ham version=3.3.2 Subject: [PATCH 8/8] staging: pi433: fix CamelCase for DIONumber 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: Signed-off-by: Valentin Vidic --- drivers/staging/pi433/rf69.c | 4 ++-- drivers/staging/pi433/rf69.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/pi433/rf69.c b/drivers/staging/pi433/rf69.c index 42c2e1c6b386..0b03758beb99 100644 --- a/drivers/staging/pi433/rf69.c +++ b/drivers/staging/pi433/rf69.c @@ -501,14 +501,14 @@ int rf69_set_ook_threshold_dec(struct spi_device *spi, enum thresholdDecrement t } } -int rf69_set_dio_mapping(struct spi_device *spi, u8 DIONumber, u8 value) +int rf69_set_dio_mapping(struct spi_device *spi, u8 dio_number, u8 value) { u8 mask; u8 shift; u8 dio_addr; u8 dio_value; - switch (DIONumber) { + switch (dio_number) { case 0: mask = MASK_DIO0; shift = SHIFT_DIO0; dio_addr = REG_DIOMAPPING1; break; diff --git a/drivers/staging/pi433/rf69.h b/drivers/staging/pi433/rf69.h index 2c0d130f7a03..cdd7be34cd9f 100644 --- a/drivers/staging/pi433/rf69.h +++ b/drivers/staging/pi433/rf69.h @@ -41,7 +41,7 @@ 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); int rf69_set_bandwidth_during_afc(struct spi_device *spi, enum mantisse mantisse, u8 exponent); int rf69_set_ook_threshold_dec(struct spi_device *spi, enum thresholdDecrement thresholdDecrement); -int rf69_set_dio_mapping(struct spi_device *spi, u8 DIONumber, u8 value); +int rf69_set_dio_mapping(struct spi_device *spi, u8 dio_number, u8 value); bool rf69_get_flag(struct spi_device *spi, enum flag flag); int rf69_set_rssi_threshold(struct spi_device *spi, u8 threshold); int rf69_set_preamble_length(struct spi_device *spi, u16 preambleLength); -- 2.15.1