lkml.org 
[lkml]   [2020]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4/9] mfd: max77620: remove unnecessary CONFIG_PM_SLEEP
    Date
    SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG.

    Signed-off-by: Coiby Xu <coiby.xu@gmail.com>
    ---
    drivers/mfd/max77620.c | 2 --
    1 file changed, 2 deletions(-)

    diff --git a/drivers/mfd/max77620.c b/drivers/mfd/max77620.c
    index fec2096474ad..17ea0ae6408d 100644
    --- a/drivers/mfd/max77620.c
    +++ b/drivers/mfd/max77620.c
    @@ -574,7 +574,6 @@ static int max77620_probe(struct i2c_client *client,
    return 0;
    }

    -#ifdef CONFIG_PM_SLEEP
    static int max77620_set_fps_period(struct max77620_chip *chip,
    int fps_id, int time_period)
    {
    @@ -681,7 +680,6 @@ static int max77620_i2c_resume(struct device *dev)

    return 0;
    }
    -#endif

    static const struct i2c_device_id max77620_id[] = {
    {"max77620", MAX77620},
    --
    2.28.0
    \
     
     \ /
      Last update: 2020-10-29 11:07    [W:3.107 / U:0.072 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site