Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4355695yba; Wed, 17 Apr 2019 09:43:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqxtruVMs/j9lR/OWImAuOKnz7bb9S7AwITmSu6ldxw73hpqmiy5m6RgdPO8wJ4PFE9CIXMY X-Received: by 2002:a17:902:8f92:: with SMTP id z18mr92097435plo.123.1555519439520; Wed, 17 Apr 2019 09:43:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555519439; cv=none; d=google.com; s=arc-20160816; b=k+Gk97fEk0U6teDhf35xfF2nSV+bYwWMA8RB3551/emWCBiTdZOWKbPjJb/Xl6kSCF EAC3jHtrxgXjeTfjdMuOz2JxGM4EpZXpRkh6fCUWg2GZ93v5iVDWHFpilq+b4uxHT7er AJQZZ8iLPKQ9MK19ww1+O5iETOlY5nSYKcsDNvDqHCBTUk9gBSvvKUsNv8H54AUUMAgR 6aNwToqfoDAyCkn22RHMjgY3IYSus7Lfvsgti2s3dJCwvJI3kiJv82xsvYonZe9jU6Bh KqdQtI5InKoMsAeh3oyxBrIjg+vuKcVDbXlnotHfUfBS95Xj99vhoJL2mLSpmkrMyqh1 80ZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:in-reply-to:subject:cc:to :from:dkim-signature; bh=vll6DizoBPDWtabXDDVM5zbIdbu41auEcnb2SRX+tqg=; b=o6L4kH5IKm2XfPul3CP3lduEiF+2ldMK4ZsXcxsooQUv9anqQtYmPAqC6iDDLCNA9q PZOzmRuyAW+eiwmGqqI7NzzjG/1IbC4lhjV9MLUbhCtyJXBAj4Vf+uA3/YW/HWcPAkaE 4ZwywZl+8h69O9SHaRs7YR5RDZCJFhwJ+YLSDdpguhk/DmlH1Tm1TZ2xh8DM9n6yOBDl NRTM/cNaztyKswX39NVDXyeUqsUns+8arGrqHupV0sudnjfZvFb7Zr1mXA/Eb2S4f7wW mZo+z2S99ZQYNizdKeDNpT2hVIXwSkWTuMMaQmkFVmE7R4wSW+fGaD/+ZvPLdc5Oh+s8 ZvWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=tLTjGRAf; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i1si48541283pgq.528.2019.04.17.09.43.44; Wed, 17 Apr 2019 09:43:59 -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; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=tLTjGRAf; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732995AbfDQQmh (ORCPT + 99 others); Wed, 17 Apr 2019 12:42:37 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:37624 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732937AbfDQQmg (ORCPT ); Wed, 17 Apr 2019 12:42:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=vll6DizoBPDWtabXDDVM5zbIdbu41auEcnb2SRX+tqg=; b=tLTjGRAfCxKE Tai8SYbb6vQoZiC5NxoD2gHIItGWOQ/95H2ChyZkvH3Wxvrg1RSnjALFyRkmUEYPQjaEkJHwqmSY/ O2zIbTlML/VJSYrt7s3Z4W0oZigkgCf1LEUHebEtvkL31w71LYZDf9qTRMQiUZn4PPw2CSpHEHYyE 0OYHA=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1hGndY-000155-LL; Wed, 17 Apr 2019 16:42:16 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id 64D971128FC8; Wed, 17 Apr 2019 17:42:16 +0100 (BST) From: Mark Brown To: kbuild test robot Cc: Alexandre Torgue , kbuild-all@01.org, Liam Girdwood , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, Mark Brown , Maxime Coquelin , Pascal PAILLET-LME Subject: Applied "regulator: ready_mask_table[] can be static" to the regulator tree In-Reply-To: <20190415165238.GA71613@lkp-sb05> X-Patchwork-Hint: ignore Message-Id: <20190417164216.64D971128FC8@debutante.sirena.org.uk> Date: Wed, 17 Apr 2019 17:42:16 +0100 (BST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch regulator: ready_mask_table[] can be static has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.2 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark From 82f26185a91298a21aa33a985893dd5f8ed4c75a Mon Sep 17 00:00:00 2001 From: kbuild test robot Date: Tue, 16 Apr 2019 00:52:38 +0800 Subject: [PATCH] regulator: ready_mask_table[] can be static Fixes: 6cdae8173f67 ("regulator: Add support for stm32 power regulators") Signed-off-by: kbuild test robot Signed-off-by: Mark Brown --- drivers/regulator/stm32-pwr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/regulator/stm32-pwr.c b/drivers/regulator/stm32-pwr.c index e434b26d4c8b..222d593d76a2 100644 --- a/drivers/regulator/stm32-pwr.c +++ b/drivers/regulator/stm32-pwr.c @@ -32,7 +32,7 @@ enum { STM32PWR_REG_NUM_REGS }; -u32 ready_mask_table[STM32PWR_REG_NUM_REGS] = { +static u32 ready_mask_table[STM32PWR_REG_NUM_REGS] = { [PWR_REG11] = REG_1_1_RDY, [PWR_REG18] = REG_1_8_RDY, [PWR_USB33] = USB_3_3_RDY, @@ -44,7 +44,7 @@ struct stm32_pwr_reg { u32 ready_mask; }; -int stm32_pwr_reg_is_ready(struct regulator_dev *rdev) +static int stm32_pwr_reg_is_ready(struct regulator_dev *rdev) { struct stm32_pwr_reg *priv = rdev_get_drvdata(rdev); u32 val; @@ -54,7 +54,7 @@ int stm32_pwr_reg_is_ready(struct regulator_dev *rdev) return (val & priv->ready_mask); } -int stm32_pwr_reg_is_enabled(struct regulator_dev *rdev) +static int stm32_pwr_reg_is_enabled(struct regulator_dev *rdev) { struct stm32_pwr_reg *priv = rdev_get_drvdata(rdev); u32 val; -- 2.20.1