[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5CB5F59E.6050905@st.com>
Date: Tue, 16 Apr 2019 15:32:46 +0000
From: Pascal PAILLET-LME <p.paillet@...com>
To: kbuild test robot <lkp@...el.com>
CC: "kbuild-all@...org" <kbuild-all@...org>,
Mark Brown <broonie@...nel.org>,
Liam Girdwood <lgirdwood@...il.com>,
Maxime Coquelin <mcoquelin.stm32@...il.com>,
Alexandre TORGUE <alexandre.torgue@...com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-stm32@...md-mailman.stormreply.com"
<linux-stm32@...md-mailman.stormreply.com>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"yuehaibing@...wei.com" <yuehaibing@...wei.com>
Subject: Re: [RFC PATCH regulator] regulator: ready_mask_table[] can be static
The same patch was proposed by YueHaibing
Acked-by: Pascal Paillet <p.paillet@...com>
thank you,
pascal
Le 04/15/2019 06:52 PM, kbuild test robot a écrit :
> Fixes: 6cdae8173f67 ("regulator: Add support for stm32 power regulators")
> Signed-off-by: kbuild test robot <lkp@...el.com>
> ---
> 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 e434b26..222d593 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;
>
Powered by blists - more mailing lists