Received: by 10.223.185.116 with SMTP id b49csp1458981wrg; Sun, 4 Mar 2018 02:19:11 -0800 (PST) X-Google-Smtp-Source: AG47ELtKH3vjKUfGjttjyuCdzGPUOFS9meK8oC5Az3yfoV1jC7ansctiOcSwI6u8v9rqKXc5T+t/ X-Received: by 2002:a17:902:904b:: with SMTP id w11-v6mr9979373plz.11.1520158751599; Sun, 04 Mar 2018 02:19:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520158751; cv=none; d=google.com; s=arc-20160816; b=bRJrHfl/wkIpIJVmyc8/SAgCL0OTB3ihNI4dzxjEtsoh98BQu1IREht+MpUiNaHZIZ /A1f22FxNVTudv9kcVdk6OZArOTvU/K8Rx9K2GfQobA20wi/9ltYI25tynQHmUb41W0q 6L/K6HRB8RdIYvJKJowT2wOY0gsq77RoOA0It5oMOnZg/yw2VsOkWj9kH8OCTfRKNC8L dhzyz4DEs9ALLV2aQWY7Xe/zElyts8ejFbuv6d3CJzuiGLH+b8ycW+WFm8jmxT8zZoWk T+wtAIkTXgPvo0TjD0qtw39TKVEa3SSVUJV4sPs4HPVAKOSmNP2iT1yay/rRlG0YHYyu 4N8g== 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=3yLpX4TZM/NYfhFRspZ/zn31nEPaRZiko6bvGUV2bcU=; b=ROJzq0KN5Ig/4dL9PUyu++ZX0iGshxP0jd2WKYfunVICnbwiuchzil670/J/ViK9aK PCRYLoV2owumLuDdqAAIgTixR/kEcMInI3uXHPsmZrlnaGZfxMCDdU/rBYENDNbPer0G 0Z+dkOBsyLY1pJhwkSsz+5DeqUssi2PGYG98/tqBWwVsJnFhUJ7j9Ok48JYpZeDGfwd5 EANHe5VudF6jfot8qHJx02jC0hfKG/5iwv1BaVkwpQzqhSw4PSTrOxQ8g68zr3k9MDQm BGycx9ugDRcLC871NsDY/Xw2vc1M3E7cEPQkfzxFz1NaJD1FU5YUklDInXwydjh6ALwA 3cNQ== 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 q4-v6si6074435plr.365.2018.03.04.02.18.57; Sun, 04 Mar 2018 02:19:11 -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 S932171AbeCDJ40 (ORCPT + 99 others); Sun, 4 Mar 2018 04:56:26 -0500 Received: from mail.CARNet.hr ([161.53.123.6]:59118 "EHLO mail.carnet.hr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752026AbeCDJ4Y (ORCPT ); Sun, 4 Mar 2018 04:56:24 -0500 Received: from cnzgrivvl-t440p.carpriv.carnet.hr ([161.53.12.131]:43982 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 1esQNS-000558-2C; Sun, 04 Mar 2018 10:56:22 +0100 Received: by gavran.carpriv.carnet.hr (Postfix, from userid 1000) id D6C7A24425; Sun, 4 Mar 2018 10:56:21 +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: Sun, 4 Mar 2018 10:56:19 +0100 Message-Id: <20180304095619.10434-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 autolearn=ham version=3.3.2 Subject: [PATCH] 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