Received: by 10.213.65.68 with SMTP id h4csp1233685imn; Wed, 14 Mar 2018 13:45:47 -0700 (PDT) X-Google-Smtp-Source: AG47ELtcS6DVyp8gwleaisqssRuaVcTB+XvpzY2bhErPIRw2SuWFIhtYrji37LaLCGMlECjF6OGD X-Received: by 2002:a17:902:28e2:: with SMTP id f89-v6mr5316061plb.114.1521060347063; Wed, 14 Mar 2018 13:45:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521060347; cv=none; d=google.com; s=arc-20160816; b=PVxmedoHzS04YgQvP4orJyaWKwDjQwzYVt8zidSesz1du9FWgUnOnKpqs3NuWZlYOs qHQFHp1fX7Z1dxU2hYc3x9LKPvo8jvGiY9jUWtqvqIHLFdS+oKMyyyfOp1uoEDk3/ZvM zaDR4YhF3CwJaSRSHYhQz4aKGv69TuOukoPI0+EpywEs74OI+dbr5ZBed8NEsCrCXGvO VpGRrgxKBw6JeCcqxb0R2jtRMALxV2hoo5KR+6P28lLNkVRLIGdKQVBvGupMNVr9FW0K 3ZdtWvFQiFzimuyq3EKTJvl/68XTYFwQgfx7nS+meO7Ns4Z7A0dFd19XW8k/keYcceJ3 7EbA== 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=3I+MozdxtmmX/4uhLDKUSlSLgSrOZ8PVay6xCzuJcS4=; b=T7bIxGOrSKCMiw6M2H5P20UHBZGG5L81PevsqJ9a0mJXiwqoYJzI0Jnn63Ty1CTsR0 BuxWEVz4+JgSl6RFELUTAg8zhg+Tygv/ugk9uEIS5VED9/qmKDl5qQldTqkNPPlV4vwd YFAyZsAa3JVh3hT0nBk3EwCrLgMVkI8k5lkTY8OGsl5X+59nz84/RiPevSgzIFuYBkrF oxeOC1xLBdp8GkFDLgohWsgxDSTjYsWusuwyI4pbFfDu2CFpXZOXZsKD8QLXDOch0JyR IJsJxgb5vnbX+m1bR9CSlsvxX0HA42T8YS4V42fquIkZXXHQCtuXkuL+xHc3G8s/jE5I egNQ== 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 g31-v6si2509740pld.714.2018.03.14.13.45.31; Wed, 14 Mar 2018 13:45:47 -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 S1751559AbeCNUoS (ORCPT + 99 others); Wed, 14 Mar 2018 16:44:18 -0400 Received: from mail.CARNet.hr ([161.53.123.6]:56617 "EHLO mail.carnet.hr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750950AbeCNUoR (ORCPT ); Wed, 14 Mar 2018 16:44:17 -0400 Received: from cnzgrivvl-t440p.carpriv.carnet.hr ([161.53.12.131]:49942 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 1ewDFs-0007MO-HZ; Wed, 14 Mar 2018 21:44:13 +0100 Received: by gavran.carpriv.carnet.hr (Postfix, from userid 1000) id 51D3124211; Wed, 14 Mar 2018 21:44:12 +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:01 +0100 Message-Id: <20180314204407.2777-1-Valentin.Vidic@CARNet.hr> X-Mailer: git-send-email 2.16.2 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 1/7] staging: pi433: fix CamelCase for GPIO functions 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: CHECK: Avoid CamelCase: Signed-off-by: Valentin Vidic --- drivers/staging/pi433/pi433_if.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging/pi433/pi433_if.c index 5c6a7224180a..583b3803cf38 100644 --- a/drivers/staging/pi433/pi433_if.c +++ b/drivers/staging/pi433/pi433_if.c @@ -997,7 +997,7 @@ static int pi433_release(struct inode *inode, struct file *filp) /*-------------------------------------------------------------------------*/ -static int setup_GPIOs(struct pi433_device *device) +static int setup_gpio(struct pi433_device *device) { char name[5]; int retval; @@ -1059,7 +1059,7 @@ static int setup_GPIOs(struct pi433_device *device) return 0; } -static void free_GPIOs(struct pi433_device *device) +static void free_gpio(struct pi433_device *device) { int i; @@ -1174,7 +1174,7 @@ static int pi433_probe(struct spi_device *spi) mutex_init(&device->rx_lock); /* setup GPIO (including irq_handler) for the different DIOs */ - retval = setup_GPIOs(device); + retval = setup_gpio(device); if (retval) { dev_dbg(&spi->dev, "setup of GPIOs failed"); goto GPIO_failed; @@ -1261,7 +1261,7 @@ static int pi433_probe(struct spi_device *spi) device_create_failed: pi433_free_minor(device); minor_failed: - free_GPIOs(device); + free_gpio(device); GPIO_failed: kfree(device); @@ -1273,7 +1273,7 @@ static int pi433_remove(struct spi_device *spi) struct pi433_device *device = spi_get_drvdata(spi); /* free GPIOs */ - free_GPIOs(device); + free_gpio(device); /* make sure ops on existing fds can abort cleanly */ device->spi = NULL; -- 2.16.2