From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Cyrus-Session-Id: sloti22d1t05-1071849-1517046211-2-15995319115032476307 X-Sieve: CMU Sieve 3.0 X-Spam-known-sender: no X-Spam-score: 0.0 X-Spam-hits: BAYES_00 -1.9, HEADER_FROM_DIFFERENT_DOMAINS 0.001, RCVD_IN_DNSWL_MED -2.3, SPF_PASS -0.001, LANGUAGES unknown, BAYES_USED global, SA_VERSION 3.4.0 X-Spam-source: IP='140.211.166.138', Host='smtp1.osuosl.org', Country='US', FromHeader='hr', MailFrom='org' X-Spam-charsets: cc='UTF-8', plain='us-ascii' X-Resolved-to: greg@kroah.com X-Delivered-to: greg@kroah.com X-Mail-from: driverdev-devel-bounces@linuxdriverproject.org ARC-Seal: i=1; a=rsa-sha256; cv=none; d=messagingengine.com; s=arctest; t=1517046207; b=YSxDa/R6M93a9xpg0jej7q7mn2vuNGoU5DFTtLmkd8N6UV/ tnEqKVWQiF2DHtofTiSnWPFI4y/Ga/Cvf8Qs+JQ2KoWbznoUq/S8B4kfnIHlB03c C4V3S14+kqdHnEzAJsgAuWv6NMy/wXK/UojPkSzhvI/8lQpPnpf7A1bbdVa0fOIJ NwlfQKQ+2NpljgUmKIWoZ6IZjWSxh+6TqHLPrnjdXi9upF3MK3RRe+swpi0HPpyG ypMc5Mffz5SlgZ2bztt6KBVkMNkXPKk+gT3VjNcl6E6GydHEusO8G4VJZtIPXOhk JL3M4azQEkkKsjHUN5tjGV49Ogh4A+rt/nrssJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=from:to:date:message-id:subject:list-id :list-unsubscribe:list-archive:list-post:list-help :list-subscribe:cc:mime-version:content-type :content-transfer-encoding:sender; s=arctest; t=1517046207; bh=Y ismWFODIxOWvMpuu8cx5Tig+br3u82UMBSqzZYX/G4=; b=OxPeJltIFIRBghJcL 1nyZ1EFU6SekIR43ohZJfxHvuRCMjr7di8c45vdrk3bLpIJdJMel0YN9H2IRr9Bm AOkTv1NiKcxCx3yQVdn93ROrlQiYbX9AHTAkolby46XUpvTUNFD3O4QrKCn6Cn7X Bbd00sLLXj+qY5oPEeWuaJrg7MDBb7J4St+G2abpOIt1XZBvcN9cjeEiRR74av2a 8WrtbYqF1h2y+Wc8eKbinMFGS2xX8VwppR//BX2a1ORCse+brbAFtlcnZRWY4E7j P4HB1Un3nDTkfz00CZgWnIfQjrtHsBuyVlHNO6iicgu6DGp6M+1EJNd9Z5BWWbJw fVoug== ARC-Authentication-Results: i=1; mx6.messagingengine.com; arc=none (no signatures found); dkim=none (no signatures found); dmarc=none (p=none,has-list-id=yes,d=none) header.from=carnet.hr; iprev=pass policy.iprev=140.211.166.138 (smtp1.osuosl.org); spf=pass smtp.mailfrom=driverdev-devel-bounces@linuxdriverproject.org smtp.helo=whitealder.osuosl.org; x-aligned-from=fail; x-ptr=fail x-ptr-helo=whitealder.osuosl.org x-ptr-lookup=smtp1.osuosl.org; x-return-mx=pass smtp.domain=linuxdriverproject.org smtp.result=pass smtp_is_org_domain=yes header.domain=carnet.hr header.result=pass header_is_org_domain=yes; x-tls=pass version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128 Authentication-Results: mx6.messagingengine.com; arc=none (no signatures found); dkim=none (no signatures found); dmarc=none (p=none,has-list-id=yes,d=none) header.from=carnet.hr; iprev=pass policy.iprev=140.211.166.138 (smtp1.osuosl.org); spf=pass smtp.mailfrom=driverdev-devel-bounces@linuxdriverproject.org smtp.helo=whitealder.osuosl.org; x-aligned-from=fail; x-ptr=fail x-ptr-helo=whitealder.osuosl.org x-ptr-lookup=smtp1.osuosl.org; x-return-mx=pass smtp.domain=linuxdriverproject.org smtp.result=pass smtp_is_org_domain=yes header.domain=carnet.hr header.result=pass header_is_org_domain=yes; x-tls=pass version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128 X-Remote-Delivered-To: driverdev-devel@osuosl.org From: Valentin Vidic To: Greg Kroah-Hartman 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 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) X-BeenThere: driverdev-devel@linuxdriverproject.org X-Mailman-Version: 2.1.24 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devel@driverdev.osuosl.org, Derek Robson , Michael Panzlaff , Valentin Vidic , linux-kernel@vger.kernel.org, Marcin Ciupak , Marcus Wolf , =?UTF-8?q?Simon=20Sandstr=C3=B6m?= MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: "devel" X-getmail-retrieved-from-mailbox: INBOX X-Mailing-List: linux-kernel@vger.kernel.org List-ID: 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 _______________________________________________ devel mailing list devel@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel