Received: by 10.223.176.46 with SMTP id f43csp1117655wra; Wed, 24 Jan 2018 10:55:23 -0800 (PST) X-Google-Smtp-Source: AH8x225oC4mziPdF+zPCNz7IG4rKkv22Qrrgq17tRnXFAWAmew/+HOSloALY2L6YTukEgkE81SjV X-Received: by 10.98.210.5 with SMTP id c5mr13590868pfg.238.1516820122885; Wed, 24 Jan 2018 10:55:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516820122; cv=none; d=google.com; s=arc-20160816; b=VrOsZRgFPxTBjjEGfEllMfbgHLe9vHYiFy07FcKP67KSrBlMTYyH6fHTiQcCOpoQGj ruoLlrbN8OkLL8EY34ER8d3Oia8+0jL1PAmDUil0uW6wLxQyEaD8ee++A007BcoxSgEd ciFUVZZZ7vvnYOFHtTqz2A3TM50/LOmwAmezG8Soc1UPaO8RcaDxR4UU42zbanv2sr+2 /fCF47SlDpBtLD/gvCayakKN2b8WuQxc5ZCWTo+1mU43xNNVIXFebd8IM8UzhJtTW/u2 J8tO2DFjK66MsAqqE0L9AyqYMLhZvJIxjprAm0AKg71zFA6lLt8R2ulFWLGd5l+bZCpT 44SQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=Sylqd2SZ8Mp7FE2RgNUYT+1KNXdhtXwZlyu++a4k024=; b=W34sLI6NMW4W0HcutQtbtr/D0xXvy8Ri2jbmbULFhglxYUMNBCQdfQ+d+ua7ZZ7uId 6+FnLS1Ys47t87MB7nX0SQIy+NsiP7D1V3OSvZHvXQBy4a8mqsbIeHNDALKtQx2f9b9Q evToB0jQEh81efTUJyu3EHKp2l16ygTP9raSWNyDsqyhlvtNh8I43TKF9HIEbc1EU1jy sKTpubepbrxfc19ymD/vb3uinrVujB/JcQbiwgA1zFARpWe3z+QLsy/H1OU3p++WD6tb nzD3SCEDTKLSf285yscyrOohgMAduusm1MmM7AVJlm7YzB8aZZPl7O71aU6da00RRLer +LlQ== 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 i5-v6si590862plr.103.2018.01.24.10.55.09; Wed, 24 Jan 2018 10:55:22 -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 S965128AbeAXSyj (ORCPT + 99 others); Wed, 24 Jan 2018 13:54:39 -0500 Received: from mga07.intel.com ([134.134.136.100]:24125 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965071AbeAXSyf (ORCPT ); Wed, 24 Jan 2018 13:54:35 -0500 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Jan 2018 10:54:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,409,1511856000"; d="scan'208";a="12891157" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga008.fm.intel.com with ESMTP; 24 Jan 2018 10:54:29 -0800 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1eeQHu-000Jky-Vl; Thu, 25 Jan 2018 03:00:47 +0800 Date: Thu, 25 Jan 2018 02:53:42 +0800 From: kbuild test robot To: Shreeya Patel Cc: kbuild-all@01.org, lars@metafoo.de, Michael.Hennerich@analog.com, jic23@kernel.org, knaack.h@gmx.de, pmeerw@pmeerw.net, gregkh@linuxfoundation.org, linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Shreeya Patel Subject: [RFC PATCH] Staging: iio: ade7758: __ade7758_spi_write_reg_8() can be static Message-ID: <20180124185342.GA40461@xian> References: <1516654973-6434-1-git-send-email-shreeya.patel23498@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1516654973-6434-1-git-send-email-shreeya.patel23498@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes: c1960999e575 ("Staging: iio: ade7758: Expand buf_lock to cover both buffer") Signed-off-by: Fengguang Wu --- ade7758_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/iio/meter/ade7758_core.c b/drivers/staging/iio/meter/ade7758_core.c index 7f8f8c4..5794ebb 100644 --- a/drivers/staging/iio/meter/ade7758_core.c +++ b/drivers/staging/iio/meter/ade7758_core.c @@ -25,7 +25,7 @@ #include "ade7758.h" /* Unlocked version of ade7758_spi_write_reg_8 function */ -int __ade7758_spi_write_reg_8(struct device *dev, u8 reg_address, u8 val) +static int __ade7758_spi_write_reg_8(struct device *dev, u8 reg_address, u8 val) { struct iio_dev *indio_dev = dev_to_iio_dev(dev); struct ade7758_state *st = iio_priv(indio_dev); @@ -101,7 +101,7 @@ static int ade7758_spi_write_reg_24(struct device *dev, u8 reg_address, } /* Unlocked version of ade7758_spi_read_reg_16 function */ -int __ade7758_spi_read_reg_8(struct device *dev, u8 reg_address, u8 *val) +static int __ade7758_spi_read_reg_8(struct device *dev, u8 reg_address, u8 *val) { struct iio_dev *indio_dev = dev_to_iio_dev(dev); struct ade7758_state *st = iio_priv(indio_dev);