Received: by 10.223.176.5 with SMTP id f5csp380595wra; Sat, 27 Jan 2018 01:44:17 -0800 (PST) X-Google-Smtp-Source: AH8x227EhG18nn3YO7qfLnneAF3WueDQQL2CSHcXAd33sPkyCUM0Tbc4YJc5wAyAL7XkvYMTQdtF X-Received: by 10.99.65.65 with SMTP id o62mr13633048pga.392.1517046257182; Sat, 27 Jan 2018 01:44:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517046257; cv=none; d=google.com; s=arc-20160816; b=etJExja3D8JuSksT17NvDwQWXTLw6JR7DIw430n32rGpmuL7UGLsx9rapJo8P4/Trn 4gYkIyLyRdq5ki/PleXqLlCAguFdUgq8KaFNNyqVkLU3Q06SwLuA9oYNL6E3csi/R1qE bNE9PTaD1sJ3ed39hC5TLaFd6ZR6CrnGpmL62lX7uw5DD9TUAXUm6ia7ApM9IgkudoL2 a09XftwfLu3aC4kv1194GBb2H0ISZbcGIMWoYr1wyXLq+EPEonZqEdHmzZImVkGT1mcn KClgxAQz3Vd4D5z9ahMcQM3rlxuTpVrhC1EgDUSbv41wc7/4KNp2mltUeAYudQPMUvrR XdoA== 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=ZYs2VYitQ4Gt2WFFj3kSOou8M/7gRT1WwEOhw0lMKmY=; b=zIpkIdgaH+MdL/fIiI/SalkjkfJYoKiSHnZyuypcj6BEHyDklbQvrFCLj44XqgLzkH S1ga76O9Bwq0MX+u8NGTgiHIFzyZSLhiKJrNuW+8Z4GvbWeonHffhSSMTPV315bjW9CU OOOOc6Xg85lD+AK03AB9qEd77SKWVwB8YLtvUHdWg/+sdVD7tapV+zjB7379DjAzDul8 dPnYJ7pM/nnVMZ5sIc2dfPc1MqQcBEuzW9GVCVU0i4i44sgBhL0vde6CApxiyo4Z9kdb D84llTvxS4UMV+ip2K3O8Wx7/i+sX6HmUl1D82bRWLKI5mZGrKXH4/HUW0QB20hsXLW2 t9DQ== 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 u7-v6si593092plq.120.2018.01.27.01.44.03; Sat, 27 Jan 2018 01:44:17 -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 S1752555AbeA0JnT (ORCPT + 99 others); Sat, 27 Jan 2018 04:43:19 -0500 Received: from mail.CARNet.hr ([161.53.123.6]:50277 "EHLO mail.carnet.hr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752487AbeA0JnR (ORCPT ); Sat, 27 Jan 2018 04:43:17 -0500 Received: from [2001:b68:ff:12::131] (port=46580 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 1efN0x-0005Av-01; Sat, 27 Jan 2018 10:43:12 +0100 Received: by gavran.carpriv.carnet.hr (Postfix, from userid 1000) id C52FE29850; Sat, 27 Jan 2018 10:43:10 +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:10 +0100 Message-Id: <20180127094233.20234-1-Valentin.Vidic@CARNet.hr> X-Mailer: git-send-email 2.15.1 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 1/8] staging: pi433: fix CamelCase for syncValues 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 | 18 +++++++++--------- drivers/staging/pi433/rf69.h | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/staging/pi433/rf69.c b/drivers/staging/pi433/rf69.c index 7ccdff6ae213..d55ef95b723e 100644 --- a/drivers/staging/pi433/rf69.c +++ b/drivers/staging/pi433/rf69.c @@ -645,18 +645,18 @@ int rf69_set_sync_size(struct spi_device *spi, u8 syncSize) return rf69_read_mod_write(spi, REG_SYNC_CONFIG, MASK_SYNC_CONFIG_SYNC_SIZE, (syncSize << 3)); } -int rf69_set_sync_values(struct spi_device *spi, u8 syncValues[8]) +int rf69_set_sync_values(struct spi_device *spi, u8 sync_values[8]) { int retval = 0; - retval += rf69_write_reg(spi, REG_SYNCVALUE1, syncValues[0]); - retval += rf69_write_reg(spi, REG_SYNCVALUE2, syncValues[1]); - retval += rf69_write_reg(spi, REG_SYNCVALUE3, syncValues[2]); - retval += rf69_write_reg(spi, REG_SYNCVALUE4, syncValues[3]); - retval += rf69_write_reg(spi, REG_SYNCVALUE5, syncValues[4]); - retval += rf69_write_reg(spi, REG_SYNCVALUE6, syncValues[5]); - retval += rf69_write_reg(spi, REG_SYNCVALUE7, syncValues[6]); - retval += rf69_write_reg(spi, REG_SYNCVALUE8, syncValues[7]); + retval += rf69_write_reg(spi, REG_SYNCVALUE1, sync_values[0]); + retval += rf69_write_reg(spi, REG_SYNCVALUE2, sync_values[1]); + retval += rf69_write_reg(spi, REG_SYNCVALUE3, sync_values[2]); + retval += rf69_write_reg(spi, REG_SYNCVALUE4, sync_values[3]); + retval += rf69_write_reg(spi, REG_SYNCVALUE5, sync_values[4]); + retval += rf69_write_reg(spi, REG_SYNCVALUE6, sync_values[5]); + retval += rf69_write_reg(spi, REG_SYNCVALUE7, sync_values[6]); + retval += rf69_write_reg(spi, REG_SYNCVALUE8, sync_values[7]); return retval; } diff --git a/drivers/staging/pi433/rf69.h b/drivers/staging/pi433/rf69.h index 09d221b8b6df..4531b5d8c08b 100644 --- a/drivers/staging/pi433/rf69.h +++ b/drivers/staging/pi433/rf69.h @@ -49,7 +49,7 @@ int rf69_enable_sync(struct spi_device *spi); int rf69_disable_sync(struct spi_device *spi); int rf69_set_fifo_fill_condition(struct spi_device *spi, enum fifo_fill_condition fifo_fill_condition); int rf69_set_sync_size(struct spi_device *spi, u8 sync_size); -int rf69_set_sync_values(struct spi_device *spi, u8 syncValues[8]); +int rf69_set_sync_values(struct spi_device *spi, u8 sync_values[8]); int rf69_set_packet_format(struct spi_device *spi, enum packetFormat packetFormat); int rf69_enable_crc(struct spi_device *spi); int rf69_disable_crc(struct spi_device *spi); -- 2.15.1