From patchwork Sun Feb 11 07:54:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 871734 X-Patchwork-Delegate: cyrille.pitchen@atmel.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2001:8b0:10b:1236::1; helo=casper.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=infradead.org header.i=@infradead.org header.b="CH+8Lc+o"; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="S1GO5JzX"; dkim-atps=neutral Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zfLmt4TQXz9sBW for ; Sun, 11 Feb 2018 18:59:42 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=CUMXBusPLnAyD2q9lS0kNRh3Mhm8NjwQhBd0Og96Kro=; b=CH+8Lc+oj652mq6fUlZjlf9gU TRjc6ykb82EVFl0zZF1g+bh2wzrw4KUT+hP3PWyGqYVIImKbhi4qUuGTa+SNsXP1B2LSoF1isskH1 dxZaYyAIzDr9NcftV3PR1YhUMeKwMp9OcooD4aXWaQoapWN/AqHdRoxFgk9/1MCavgoTanJSRt5a8 DaoAHDgRwxS9NUQLXa2fxFjGPyoe2UIfaeDv0GHNyD3KhqcicGZRGhO7RCpV9gZmWaUlVPJ2lB+5A Lj95GH2Ziz48YL0zM49mzBLPiow36DuYEN2y6dyYbiZFeY8/ZTCmXB4tGs2072X8C3jwx9zUwkLAr UfV1Wlj7w==; Received: from [198.137.202.133] (helo=bombadil.infradead.org) by casper.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ekmXs-0005wu-O1 for incoming@patchwork.ozlabs.org; Sun, 11 Feb 2018 07:59:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=CUMXBusPLnAyD2q9lS0kNRh3Mhm8NjwQhBd0Og96Kro=; b=S1GO5JzXaJuAO3 DE1fsv4LzH1GrIzrEQexd4Po1iB520F34x9y3WM7vIwC/IVR3H95CsCkDHM4iEExayHx12XWRHjXD 6n2thUKG4VYJ8VT3sZYYAYzvVFSyAoIFzj3fL0en7HhNfIn3T8T/EFamuh0zBdPQiW30+VO9wye63 eMbLGR6r1f/s3H+CBNgCJkeoMleE+2z1XfIPySHoFCltqs/CzfbUgWXj7WJB7N4dyJTtC9z37DoHQ QUuW2rwUJT4ifmnlRjrzpR2Oc5J/lFJtY35irJMF6Rxww2z3bsmrcYUdrFSr6r/rPWG2Cg4MHB/UU dnnJlj97mtCosvx1kAGA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1ekmTh-0001SC-D3; Sun, 11 Feb 2018 07:55:13 +0000 Received: from mga05.intel.com ([192.55.52.43]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ekmTA-000878-Vv; Sun, 11 Feb 2018 07:54:42 +0000 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Feb 2018 23:54:29 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,494,1511856000"; d="scan'208";a="200290944" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga005.jf.intel.com with ESMTP; 10 Feb 2018 23:54:27 -0800 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1ekmYw-000WwW-1b; Sun, 11 Feb 2018 16:00:38 +0800 Date: Sun, 11 Feb 2018 15:54:13 +0800 From: kbuild test robot To: Andy Yan Subject: [RFC PATCH] mtd: spi-nor: rockchip_sfc_runtime_suspend() can be static Message-ID: <20180211075413.GA11432@lkp-wsm-ep2> References: <1518092327-3827-1-git-send-email-andy.yan@rock-chips.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1518092327-3827-1-git-send-email-andy.yan@rock-chips.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 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -4.2 (----) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-4.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium trust [192.55.52.43 listed in list.dnswl.org] -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, heiko@sntech.de, boris.brezillon@free-electrons.com, shawn.lin@rock-chips.com, linux-kernel@vger.kernel.org, robh+dt@kernel.org, linux-mtd@lists.infradead.org, kbuild-all@01.org, cyrille.pitchen@wedev4u.fr, Andy Yan , mchehab@kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Fixes: dbc2d867929a ("mtd: spi-nor: add rockchip serial flash controller driver") Signed-off-by: Fengguang Wu --- rockchip-sfc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/spi-nor/rockchip-sfc.c b/drivers/mtd/spi-nor/rockchip-sfc.c index 60371011..e38d79d 100644 --- a/drivers/mtd/spi-nor/rockchip-sfc.c +++ b/drivers/mtd/spi-nor/rockchip-sfc.c @@ -896,7 +896,7 @@ static int rockchip_sfc_remove(struct platform_device *pdev) } #ifdef CONFIG_PM -int rockchip_sfc_runtime_suspend(struct device *dev) +static int rockchip_sfc_runtime_suspend(struct device *dev) { struct rockchip_sfc *sfc = dev_get_drvdata(dev); @@ -904,7 +904,7 @@ int rockchip_sfc_runtime_suspend(struct device *dev) return 0; } -int rockchip_sfc_runtime_resume(struct device *dev) +static int rockchip_sfc_runtime_resume(struct device *dev) { struct rockchip_sfc *sfc = dev_get_drvdata(dev);