lkml.org 
[lkml]   [2013]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH 1/2] pwm: mxs: Remove unused *dev from struct mxs_pwm_chip
    From
    Date
    Signed-off-by: Axel Lin <axel.lin@ingics.com>
    ---
    drivers/pwm/pwm-mxs.c | 2 --
    1 file changed, 2 deletions(-)

    diff --git a/drivers/pwm/pwm-mxs.c b/drivers/pwm/pwm-mxs.c
    index a53d309..23d5180 100644
    --- a/drivers/pwm/pwm-mxs.c
    +++ b/drivers/pwm/pwm-mxs.c
    @@ -38,7 +38,6 @@

    struct mxs_pwm_chip {
    struct pwm_chip chip;
    - struct device *dev;
    struct clk *clk;
    void __iomem *base;
    };
    @@ -166,7 +165,6 @@ static int mxs_pwm_probe(struct platform_device *pdev)
    return ret;
    }

    - mxs->dev = &pdev->dev;
    platform_set_drvdata(pdev, mxs);

    stmp_reset_block(mxs->base);
    --
    1.7.10.4




    \
     
     \ /
      Last update: 2013-04-01 05:21    [W:5.696 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site