lkml.org 
[lkml]   [2012]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH] regulator: max77686: Initialize regulator_config
    From
    Date
    Signed-off-by: Axel Lin <axel.lin@gmail.com>
    ---
    drivers/regulator/max77686.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/regulator/max77686.c b/drivers/regulator/max77686.c
    index a29eee3..877d4bf 100644
    --- a/drivers/regulator/max77686.c
    +++ b/drivers/regulator/max77686.c
    @@ -217,7 +217,7 @@ static __devinit int max77686_pmic_probe(struct platform_device *pdev)
    struct max77686_data *max77686;
    int i, size;
    int ret = 0;
    - struct regulator_config config;
    + struct regulator_config config = { };

    dev_dbg(&pdev->dev, "%s\n", __func__);

    --
    1.7.9.5




    \
     
     \ /
      Last update: 2012-06-20 09:41    [W:2.764 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site