Received: by 10.213.65.68 with SMTP id h4csp1235094imn; Wed, 14 Mar 2018 13:49:04 -0700 (PDT) X-Google-Smtp-Source: AG47ELsD2Op+R4J8CcaB6ENd0lrpC9NsclQ8bG9nohCs42hspkreGND6OtrVIH8e4I+ykXed4iU7 X-Received: by 10.167.131.86 with SMTP id z22mr5526769pfm.185.1521060544405; Wed, 14 Mar 2018 13:49:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521060544; cv=none; d=google.com; s=arc-20160816; b=nn7VJGFWaiw6Y/OBKE7Kji1KtVdOj3J/ExB5B148cf4cMEti41n5XyK0xVlysspn7O HCbiuNkAQ/CruYb7Rjwq+HhpORUMq1SmBOxJsvk99U89Ed7mfB30iEXr2Fqcs0OaHI+N uag7zgIfaxH3wFU4yHvqPZrWAk1a2lrl4vz/sV+WUADCdHX8Do3L2y18e9lUAQgM5ZKG j8jSp2xP3XMFN0Gb4gmbcLabDXDRWf4U37Z9CHYb5NOtqwaYVwBRPfwo6NjLxrd1Hl7Z lj3RJTppmgu657KZTBMZ6R0dys8bBxHX56thads/LE6KTvRJ1/uRf8SeD52JK4G+N+iZ dGuw== 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=LX+p9mFQNgXrmU5wbVEW5CxfMvWCTMDGdW+YCL4F6Qg=; b=AZmEPawmTxiyKUwPtMdoizwUNS8zGFUPDG1vP1ISDxGskAD9f3oLmNuj5IZLatyhZ7 2MpzS175rzTwbyeN90Aldlhune4nEf40jszjavN0Mdtlz3Z/h/k41jSQV4UWe7TlEDnJ D63lB8qcWkboGXQ+t7UhSGp68/9uIqaGG63MI+j6KvGUFyskvYL/RTepnd1BTx9LwpWA +200/DME0xYhZoJ7Om2bLxIadwUF2V7gbBQjejrOqpCMwme27NpRUy968Plyz5Qfh7rf eoauzYHtS0Ne+bOHz/jH9FCv/q4aT0FUiUsuLRd3FgCglQ1lb5jSBkm3lEYOL4u/edlH DNSA== 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 z19si2638516pfi.407.2018.03.14.13.48.48; Wed, 14 Mar 2018 13:49:04 -0700 (PDT) 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 S1752244AbeCNUqj (ORCPT + 99 others); Wed, 14 Mar 2018 16:46:39 -0400 Received: from mail.CARNet.hr ([161.53.123.6]:45148 "EHLO mail.carnet.hr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751626AbeCNUoW (ORCPT ); Wed, 14 Mar 2018 16:44:22 -0400 Received: from cnzgrivvl-t440p.carpriv.carnet.hr ([161.53.12.131]:49946 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 1ewDG0-0007Mt-30; Wed, 14 Mar 2018 21:44:20 +0100 Received: by gavran.carpriv.carnet.hr (Postfix, from userid 1000) id EA60724211; Wed, 14 Mar 2018 21:44:19 +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: Wed, 14 Mar 2018 21:44:03 +0100 Message-Id: <20180314204407.2777-3-Valentin.Vidic@CARNet.hr> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180314204407.2777-1-Valentin.Vidic@CARNet.hr> References: <20180314204407.2777-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,URIBL_BLOCKED autolearn=ham version=3.3.2 Subject: [PATCH 3/7] staging: pi433: fix CamelCase for syncSize variable 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/rf69.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/pi433/rf69.c b/drivers/staging/pi433/rf69.c index b2c54999b022..b57d3f4e9321 100644 --- a/drivers/staging/pi433/rf69.c +++ b/drivers/staging/pi433/rf69.c @@ -633,16 +633,16 @@ int rf69_set_fifo_fill_condition(struct spi_device *spi, enum fifo_fill_conditio } } -int rf69_set_sync_size(struct spi_device *spi, u8 syncSize) +int rf69_set_sync_size(struct spi_device *spi, u8 sync_size) { // check input value - if (syncSize > 0x07) { + if (sync_size > 0x07) { dev_dbg(&spi->dev, "set: illegal input param"); return -EINVAL; } // write value - return rf69_read_mod_write(spi, REG_SYNC_CONFIG, MASK_SYNC_CONFIG_SYNC_SIZE, (syncSize << 3)); + return rf69_read_mod_write(spi, REG_SYNC_CONFIG, MASK_SYNC_CONFIG_SYNC_SIZE, (sync_size << 3)); } int rf69_set_sync_values(struct spi_device *spi, u8 sync_values[8]) -- 2.16.2