Received: by 10.223.185.116 with SMTP id b49csp2268750wrg; Sun, 4 Mar 2018 23:05:09 -0800 (PST) X-Google-Smtp-Source: AG47ELvL4AXfHQGagE+fBMNjhVh2WmLislZ6WvVKwPwUgRZWW2+aFXJkUSqpMfu4523gZmD3QXOi X-Received: by 10.99.8.4 with SMTP id 4mr11492873pgi.289.1520233509225; Sun, 04 Mar 2018 23:05:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520233509; cv=none; d=google.com; s=arc-20160816; b=cwNJ5ed4/UxlXBZVD0m1053Qov2PDp2Q4qJdlD5kAwosDOCexNlCLO8L+X6epD/j9a aXN5ZziI0Endh1pH9dJ5f74ol8Sixcm7zMoJbNoFTTv0dnG05VddTkwqyYS03jppL8F4 uAP/xiATinxCCNT44kwUoyYkAvBpIhCPZw2o8hq9L40yhLK+jJwEJSLGqvZ4AZTXDeOb leRUm7t4c6qRLMeV2Yi6mqrI8BENa/Trw5a2/n0IBdq4R1WI0Kag/kcLJ+M65wqIeAdu Zyg4RWgipcMQm0tvzF9NNw589Cl9w2NfjqCFsNJIb+Sp42hr5rO6hmSyMyowsmgBqdSh YXyg== 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=3yLpX4TZM/NYfhFRspZ/zn31nEPaRZiko6bvGUV2bcU=; b=opdoN0kahYLXz4Lvjc7lrM2nH8qDM5QIyXq/HmFust+1aO6RRfKN8UP7KyZxuM8PSL BUY/1I+osRsK6312vfOF2WXjAr+iKoO/Vp7ut5KT2GX7kfsk8CtpWNW/mWw8hr3Pl0t3 JCvSPSm7+LzvMVCsNcnPmBY5g8+xgx42iQVm9sfn1wYFjan1uf3fJlTwAt79bD8tDHod 2JOYsyPRVg5EYYZW0udiEyqzAjLFd6KF6zXu8mVJN3pa1+rYnQPagKCmpFvus6Z545yW kCooo3IW7Airdh+XgAuMROndAV35UO1g6N4itJH27vwRYvdJqN/+3P+UvWHzePYSAS/G TcTQ== 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 y5-v6si8835649pln.274.2018.03.04.23.04.55; Sun, 04 Mar 2018 23:05:09 -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 S932984AbeCEHC6 (ORCPT + 99 others); Mon, 5 Mar 2018 02:02:58 -0500 Received: from mail.CARNet.hr ([161.53.123.6]:48643 "EHLO mail.carnet.hr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932792AbeCEHCj (ORCPT ); Mon, 5 Mar 2018 02:02:39 -0500 Received: from cnzgrivvl-t440p.carpriv.carnet.hr ([161.53.12.131]:47208 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 1esk8o-0007K7-Vo; Mon, 05 Mar 2018 08:02:36 +0100 Received: by gavran.carpriv.carnet.hr (Postfix, from userid 1000) id BF9122428A; Mon, 5 Mar 2018 08:02:34 +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: Mon, 5 Mar 2018 08:02:16 +0100 Message-Id: <20180305070219.7131-3-Valentin.Vidic@CARNet.hr> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180305070219.7131-1-Valentin.Vidic@CARNet.hr> References: <20180305070219.7131-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 autolearn=ham version=3.3.2 Subject: [PATCH 3/6] staging: pi433: fix CamelCase for afterSyncInterrupt 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.c | 2 +- drivers/staging/pi433/rf69.c | 2 +- drivers/staging/pi433/rf69_enum.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging/pi433/pi433_if.c index 57db806ff5af..730200597218 100644 --- a/drivers/staging/pi433/pi433_if.c +++ b/drivers/staging/pi433/pi433_if.c @@ -209,7 +209,7 @@ rf69_set_rx_cfg(struct pi433_device *dev, struct pi433_rx_cfg *rx_cfg) return ret; ret = rf69_set_fifo_fill_condition(dev->spi, - afterSyncInterrupt); + after_sync_interrupt); if (ret < 0) return ret; } else { diff --git a/drivers/staging/pi433/rf69.c b/drivers/staging/pi433/rf69.c index fc4919711477..a73a3d2c0685 100644 --- a/drivers/staging/pi433/rf69.c +++ b/drivers/staging/pi433/rf69.c @@ -625,7 +625,7 @@ int rf69_set_fifo_fill_condition(struct spi_device *spi, enum fifo_fill_conditio switch (fifo_fill_condition) { case always: return rf69_set_bit(spi, REG_SYNC_CONFIG, MASK_SYNC_CONFIG_FIFO_FILL_CONDITION); - case afterSyncInterrupt: + case after_sync_interrupt: return rf69_clear_bit(spi, REG_SYNC_CONFIG, MASK_SYNC_CONFIG_FIFO_FILL_CONDITION); default: dev_dbg(&spi->dev, "set: illegal input param"); diff --git a/drivers/staging/pi433/rf69_enum.h b/drivers/staging/pi433/rf69_enum.h index 81287ce6be35..d82d2be88cbd 100644 --- a/drivers/staging/pi433/rf69_enum.h +++ b/drivers/staging/pi433/rf69_enum.h @@ -114,7 +114,7 @@ enum flag { }; enum fifo_fill_condition { - afterSyncInterrupt, + after_sync_interrupt, always }; -- 2.16.1