Received: by 10.223.185.116 with SMTP id b49csp2314226wrg; Mon, 5 Mar 2018 00:09:54 -0800 (PST) X-Google-Smtp-Source: AG47ELtTmRxAvfWIzQANVQj8PvmmGspRtp/C3JVy5q/6JBhjcMBWAI9AU563rSwqug8+xcb+2rFb X-Received: by 2002:a17:902:5906:: with SMTP id o6-v6mr11622383pli.60.1520237394076; Mon, 05 Mar 2018 00:09:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520237394; cv=none; d=google.com; s=arc-20160816; b=RbZ2hSxawqIypgSuDnvkpUkhLIEX6QQNg+DpS/FLHDbZLIgChLwNUuGDN9OtTl99Cl 2E+idGf4eCocvKMur+qz4qinzDPJweC/5Dg+5LGLQ2Xi4npnV29v59Hcbirsb1pZldKD B59lw7Fpp+p1x6Bw/GqfFYqZCQ6wBmCUmG9mRuOJnIeleIuRDf3oTUuMZHaeI/NBykQK 1Zvr1epcyzj3CmPaimAA74kzzHXI7+n/t7df2/HdQ/K8E9MuwItTY40SfGq892X5Fjrn MYq801gPfewDswZT85zs+E0ReFfKEfZim+3HPaJwf3yN4LtTPxhzMxR1bMU20dflwTRF r7Hg== 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=zgkRm3JXQgxjL3X0QhRv3Pnij0xQlGeO+NDxZjhucBE=; b=PvI3yj4D72D7sxYgBGi5rH1zQHk9CU/qO+qqX0A4Hr6qtWSfVz7CvJNkufxNvgYEgC ZG6AWMy4kAtZCKGDVNKqfLxUa8nHjjk6iQxLub5XQp1hJSbXfbYIZ0pZDDRiEY/ig04q IkA8iEhORW6O5h+E570lWbxJuvfTONexeoFJb/iauYssC1ipRAuApZl60fAXr6PL6Y+V 8II/7dEEj8gm1qIWA0M9w41TzhvLYvSX7dz8dTb4h37tspCHZ6cNj1v0C4+w42RPgZgj dPTdIOkY91DNsY5wbJxk84NN1LSJ2lebFKZJrVuZKq1EyDSDpQzgQBf0RgoisGmPgHyo HocA== 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 bg11-v6si8875536plb.194.2018.03.05.00.09.28; Mon, 05 Mar 2018 00:09:54 -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 S932956AbeCEHCz (ORCPT + 99 others); Mon, 5 Mar 2018 02:02:55 -0500 Received: from mail.CARNet.hr ([161.53.123.6]:49798 "EHLO mail.carnet.hr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932781AbeCEHCj (ORCPT ); Mon, 5 Mar 2018 02:02:39 -0500 Received: from cnzgrivvl-t440p.carpriv.carnet.hr ([161.53.12.131]:47212 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 1esk8q-0007KX-RV; Mon, 05 Mar 2018 08:02:37 +0100 Received: by gavran.carpriv.carnet.hr (Postfix, from userid 1000) id 98C3023AFA; Mon, 5 Mar 2018 08:02:36 +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: Mon, 5 Mar 2018 08:02:18 +0100 Message-Id: <20180305070219.7131-5-Valentin.Vidic@CARNet.hr> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180305070219.7131-1-Valentin.Vidic@CARNet.hr> References: <20180305070219.7131-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 autolearn=ham version=3.3.2 Subject: [PATCH 5/6] staging: pi433: fix CamelCase for Address variables 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/rf69.c | 8 ++++---- drivers/staging/pi433/rf69.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/pi433/rf69.c b/drivers/staging/pi433/rf69.c index f419a3d4485b..c143ffc7596f 100644 --- a/drivers/staging/pi433/rf69.c +++ b/drivers/staging/pi433/rf69.c @@ -704,14 +704,14 @@ int rf69_set_payload_length(struct spi_device *spi, u8 payload_length) return rf69_write_reg(spi, REG_PAYLOAD_LENGTH, payload_length); } -int rf69_set_node_address(struct spi_device *spi, u8 nodeAddress) +int rf69_set_node_address(struct spi_device *spi, u8 node_address) { - return rf69_write_reg(spi, REG_NODEADRS, nodeAddress); + return rf69_write_reg(spi, REG_NODEADRS, node_address); } -int rf69_set_broadcast_address(struct spi_device *spi, u8 broadcastAddress) +int rf69_set_broadcast_address(struct spi_device *spi, u8 broadcast_address) { - return rf69_write_reg(spi, REG_BROADCASTADRS, broadcastAddress); + return rf69_write_reg(spi, REG_BROADCASTADRS, broadcast_address); } int rf69_set_tx_start_condition(struct spi_device *spi, enum tx_start_condition tx_start_condition) diff --git a/drivers/staging/pi433/rf69.h b/drivers/staging/pi433/rf69.h index 7b7932a553e8..677091319d7e 100644 --- a/drivers/staging/pi433/rf69.h +++ b/drivers/staging/pi433/rf69.h @@ -55,8 +55,8 @@ int rf69_enable_crc(struct spi_device *spi); int rf69_disable_crc(struct spi_device *spi); int rf69_set_address_filtering(struct spi_device *spi, enum address_filtering address_filtering); int rf69_set_payload_length(struct spi_device *spi, u8 payload_length); -int rf69_set_node_address(struct spi_device *spi, u8 nodeAddress); -int rf69_set_broadcast_address(struct spi_device *spi, u8 broadcastAddress); +int rf69_set_node_address(struct spi_device *spi, u8 node_address); +int rf69_set_broadcast_address(struct spi_device *spi, u8 broadcast_address); int rf69_set_tx_start_condition(struct spi_device *spi, enum tx_start_condition tx_start_condition); int rf69_set_fifo_threshold(struct spi_device *spi, u8 threshold); int rf69_set_dagc(struct spi_device *spi, enum dagc dagc); -- 2.16.1