Received: by 10.223.185.116 with SMTP id b49csp1458067wrg; Sun, 4 Mar 2018 02:17:32 -0800 (PST) X-Google-Smtp-Source: AG47ELvt3XKnTXymB5lACilR2dkKMB4KtJWj7RO5Rzne0JOK4TcvIgOphIiFiApMuYZPm21Ne6ka X-Received: by 2002:a17:902:8f95:: with SMTP id z21-v6mr9959280plo.132.1520158652565; Sun, 04 Mar 2018 02:17:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520158652; cv=none; d=google.com; s=arc-20160816; b=UcI+TQIfnPAl4NuRWsl7z8isxuzPKBTomqC++TCrx8OTN0xrgdnj4cwYyj2kR9ticJ Cn7c+K6k9Zp4pfdH+gI8oOXBuXuK3ZgIMq50nlJqiPjcqxPt3m3CtUeHatwzNovUU4az cebrl2VJ39UYAj2sdyFu9T17MQru6QXdMB2Xjo0avoZPg93wzSy5ltB39l4HieA4+jbl SAL9pkS902JWEf2nnnmlDz021hFFXTZ0rVZLOF4l/qmizvUOIXIG8WXzXnbk2/GIY1dQ SgxSmcySZZwgASPpGC3q6glphjBiOr7WXHyFOjaeW5W/VFAMxJHBW384FGgE9UexsAbE +rGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:message-id:date:cc:to:from :arc-authentication-results; bh=zgkRm3JXQgxjL3X0QhRv3Pnij0xQlGeO+NDxZjhucBE=; b=kO8EeVH552lxbo56SPT+bGNuFljj75LLwoski74ZUZZ5o2LRUn61nvUE3RKe5Lw09m 0cos/AFeJxcJ2vwplpGdwbje30SA5RldKzdXGFi+b26H4Sz07qXYOexw3qaP3cZv+X2I KSseck/QmazuEMPNHcUUPqyMnboeMxRswCt5w7VK+fQVvWXAOm6JPbzqSn2FG4XAdOsd rC/w5ucmu7nT0SrMoL81Zpfywva8j0Ewgf8L91yzspAdR1Wq6wD7sMOib+Jv5hXIFjOw ws9aN8hgnhUyCuy7DIbnb9THGhl4UIwWdP99LpiQAgE9Y4jLQ3tVi4dG33yc87eaGQKI RpaA== 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 t8si6824216pgu.454.2018.03.04.02.17.06; Sun, 04 Mar 2018 02:17:32 -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 S932282AbeCDJ4m (ORCPT + 99 others); Sun, 4 Mar 2018 04:56:42 -0500 Received: from mail.CARNet.hr ([161.53.123.6]:59577 "EHLO mail.carnet.hr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932199AbeCDJ4k (ORCPT ); Sun, 4 Mar 2018 04:56:40 -0500 Received: from cnzgrivvl-t440p.carpriv.carnet.hr ([161.53.12.131]:43986 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 1esQNh-00055Z-Or; Sun, 04 Mar 2018 10:56:38 +0100 Received: by gavran.carpriv.carnet.hr (Postfix, from userid 1000) id 9CB9E24425; Sun, 4 Mar 2018 10:56:37 +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: Sun, 4 Mar 2018 10:56:36 +0100 Message-Id: <20180304095636.10534-1-Valentin.Vidic@CARNet.hr> X-Mailer: git-send-email 2.16.1 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] 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