Received: by 10.223.185.116 with SMTP id b49csp663779wrg; Tue, 20 Feb 2018 05:58:07 -0800 (PST) X-Google-Smtp-Source: AH8x2246lIaBt8AY54hIQhvhntEsrzmH7b8sKM7PZLzH55Yq162C9xeHE3A6pU/prAzCd0rGzIhX X-Received: by 2002:a17:902:7201:: with SMTP id ba1-v6mr3512774plb.148.1519135087370; Tue, 20 Feb 2018 05:58:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519135087; cv=none; d=google.com; s=arc-20160816; b=RQ98GQOUJ7RTgHRwNVTBaBFpxRbYz9xdpybtb/33aDS8p1wmL6gHvmL2CfkkWdg/HI dpfX0DyZ9VQFLW/c4OvVa5yCjigFoMY5xgvQfKHeec9I73MB21ZRWg0evKCjLXy0ICIw tXT9U0QP14Y1rvwyZ58gAAA8Ri75HxHShj9bFm1BwKioH7wORkxkYy73i8ZbTxVGhb34 4MkRRphbBiLGxqf+/ZOd1qh9FB0wa+QZs2zHmyrsbPgYtCAUIAwHZZxjU8R2PrpOqjZY Ehgg7mXP5PJOv4QJpfTXDm2IdtKG3S2nlPeu1+bRTRrUuGWOhwNNgLVz8TQeTZ+KfNO9 nVwA== 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=iOZEbiDD+tYPG5At4Ix7oBlRtK++jPRxiAo5ZM4+Mgw=; b=VnVMtYXmXRr/HvU7gnuuOkYwylFoXjaRLsuMrUbAWjIUifyAR93wPmOiH3klXWsL35 gCP6S79NiS/ONWEs0Qmdxq/vSooE+p3DuoWHJO9oRAJpUBKfV6VI+wlZaz7TpjzIcXwX jaPt+NebG1rc7buGwFs2N/XCpYxBTyYT2kI7cRqdUgHhTnExrZk8CqZwHstpvWSfPiVq bUh/R5m1eCBM4fSlF+ec7sP07WK6U9y4ALZKVFQYSxRVpo6irvbFyXKY5Yy5AXKgSopg qOXtdgryp1xH4PXeKHt9XOJfu6b4nNzeP0VZx0JzuUNQcFNZJkBWKHY9vILl81L8IHUN JTlA== 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 k12si2368726pgs.166.2018.02.20.05.57.50; Tue, 20 Feb 2018 05:58:07 -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 S1751252AbeBTN5G (ORCPT + 99 others); Tue, 20 Feb 2018 08:57:06 -0500 Received: from mail.CARNet.hr ([161.53.123.6]:55803 "EHLO mail.carnet.hr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750774AbeBTN5F (ORCPT ); Tue, 20 Feb 2018 08:57:05 -0500 Received: from cnzgrivvl-t440p.carpriv.carnet.hr ([161.53.12.131]:59434 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 1eo8Pk-0006Ue-8X; Tue, 20 Feb 2018 14:57:00 +0100 Received: by gavran.carpriv.carnet.hr (Postfix, from userid 1000) id EA57223AEF; Tue, 20 Feb 2018 14:56:59 +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: Tue, 20 Feb 2018 14:56:45 +0100 Message-Id: <20180220135645.20985-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,URIBL_BLOCKED autolearn=ham version=3.3.2 Subject: [PATCH] staging: pi433: fix CamelCase for txStartCondition 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/pi433_if.h | 2 +- drivers/staging/pi433/rf69.c | 4 ++-- drivers/staging/pi433/rf69.h | 2 +- drivers/staging/pi433/rf69_enum.h | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/pi433/pi433_if.h b/drivers/staging/pi433/pi433_if.h index c4e4ea086a24..69847f978a69 100644 --- a/drivers/staging/pi433/pi433_if.h +++ b/drivers/staging/pi433/pi433_if.h @@ -69,7 +69,7 @@ struct pi433_tx_cfg { enum paRamp pa_ramp; - enum txStartCondition tx_start_condition; + enum tx_start_condition tx_start_condition; __u16 repetitions; diff --git a/drivers/staging/pi433/rf69.c b/drivers/staging/pi433/rf69.c index 42c2e1c6b386..722d95a3777f 100644 --- a/drivers/staging/pi433/rf69.c +++ b/drivers/staging/pi433/rf69.c @@ -714,9 +714,9 @@ int rf69_set_broadcast_address(struct spi_device *spi, u8 broadcastAddress) return rf69_write_reg(spi, REG_BROADCASTADRS, broadcastAddress); } -int rf69_set_tx_start_condition(struct spi_device *spi, enum txStartCondition txStartCondition) +int rf69_set_tx_start_condition(struct spi_device *spi, enum tx_start_condition tx_start_condition) { - switch (txStartCondition) { + switch (tx_start_condition) { case fifo_level: return rf69_clear_bit(spi, REG_FIFO_THRESH, MASK_FIFO_THRESH_TXSTART); case fifo_not_empty: diff --git a/drivers/staging/pi433/rf69.h b/drivers/staging/pi433/rf69.h index 2c0d130f7a03..147d89390745 100644 --- a/drivers/staging/pi433/rf69.h +++ b/drivers/staging/pi433/rf69.h @@ -57,7 +57,7 @@ int rf69_set_adressFiltering(struct spi_device *spi, enum addressFiltering addre 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_tx_start_condition(struct spi_device *spi, enum txStartCondition txStartCondition); +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); diff --git a/drivers/staging/pi433/rf69_enum.h b/drivers/staging/pi433/rf69_enum.h index 5629af716e4f..196c95dfe327 100644 --- a/drivers/staging/pi433/rf69_enum.h +++ b/drivers/staging/pi433/rf69_enum.h @@ -123,7 +123,7 @@ enum packetFormat { packetLengthVar }; -enum txStartCondition { +enum tx_start_condition { fifo_level, fifo_not_empty }; -- 2.16.1