Received: by 10.213.65.68 with SMTP id h4csp1234104imn; Wed, 14 Mar 2018 13:46:46 -0700 (PDT) X-Google-Smtp-Source: AG47ELswvCC05GnY/d0h+bvETmipIKw4YOpaCYKk+G+RbrKBgTaspJ/0X8hoH0f9KbR80NY1Jv7w X-Received: by 2002:a17:902:8c83:: with SMTP id t3-v6mr5321879plo.310.1521060406573; Wed, 14 Mar 2018 13:46:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521060406; cv=none; d=google.com; s=arc-20160816; b=wUNcPmMBUItab+tYTitZODTFQoFPnOtsLbkYoVWDwBlGNNsHidodPpdllFHOkWGXng VuV+zqSzstq9D3QJvArDAqf8LlqWcTUVinpOmf267wKNnpYkDiWeoqftUGDZs8JZTkuJ +2FnCvtO8dYk4meZ+sgnDxCDYVHltecqC55iTyKTiLMnaLovHJ4ILt56yT/U2sQ6mGLI RHzhQ7YWfmXUqycZun75+yPRg4ovVwRDxgf96cMm9u8161WlRam52uFDGgYkgnG4tNtU IfpPvt0qZJPONPO7F8O/GgaaC/07MeTVmfc69ocgCFe3ulQrPtBfm6tMyfMmkcLhw8QU dzyQ== 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=x8upKdpEvY6X4QYIFjyeUNtiwQAg16fyJJPVgV2Cuqc=; b=Ee0hD7FIUC9h9NW3mgMqj3wgxQ2C+NYVLSkaNLcGXT4veX2HGVgX/MWoYSmxzW+OnO KPu2U0EYLIrVav3gE3pBSizhFJaXLKT1PLicALdiBOK5Iqjibtcp6tPV2mpjXA7R3SR8 TM0iY+wOT2zPLAcdq845YWj0lO6ihaBYc1wIw/2B+7nJOprA2i0aGX2wBJR2X6nzOO0U AzP7VvalKkplGaTDhKpx43Ixxx3DR4o+HouoI7m8c31APXJoJV1n9n4ZE+biFuSh4Pq/ xyJ3Xq3A7HD9WuWrpJ1ITvEU7H1cDVeP3ZFzrvllfJbtMp6G6E3ayx3qoq50dsLdeuGY mKIw== 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 o2-v6si2438753pls.46.2018.03.14.13.46.32; Wed, 14 Mar 2018 13:46:46 -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 S1751991AbeCNUo1 (ORCPT + 99 others); Wed, 14 Mar 2018 16:44:27 -0400 Received: from mail.CARNet.hr ([161.53.123.6]:49633 "EHLO mail.carnet.hr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751835AbeCNUoZ (ORCPT ); Wed, 14 Mar 2018 16:44:25 -0400 Received: from [2001:b68:ff:12::131] (port=41038 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 1ewDG3-0007N9-7N; Wed, 14 Mar 2018 21:44:23 +0100 Received: by gavran.carpriv.carnet.hr (Postfix, from userid 1000) id 82264237CB; 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:05 +0100 Message-Id: <20180314204407.2777-5-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 5/7] staging: pi433: fix CamelCase for DIONumber variable 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/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 e11c9cca447b..e3394094f6a1 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 threshold_decrement } } -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 ee22a10c85c0..4d6fc07f8255 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 threshold_decrement threshold_decrement); -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 preamble_length); -- 2.16.2