Message ID | 1458784407-12908-1-git-send-email-jorge.ramirez-ortiz@linaro.org |
---|---|
State | Accepted |
Commit | ce8716e97149d15379603890c4c7a2acfcf4a7ee |
Headers | show |
Hi Jorge, On 23 March 2016 at 22:53, Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org> wrote: Can you re-submit, with some proper commit log explaining the patch? > Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org> > --- > drivers/mtd/nand/jz4780_bch.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/mtd/nand/jz4780_bch.c b/drivers/mtd/nand/jz4780_bch.c > index 755499c..d74f4ba 100644 > --- a/drivers/mtd/nand/jz4780_bch.c > +++ b/drivers/mtd/nand/jz4780_bch.c > @@ -287,7 +287,6 @@ static struct jz4780_bch *jz4780_bch_get(struct device_node *np) > bch = platform_get_drvdata(pdev); > clk_prepare_enable(bch->clk); > > - bch->dev = &pdev->dev; > return bch; > } > > -- > 2.5.0 > > > ______________________________________________________ > Linux MTD discussion mailing list > http://lists.infradead.org/mailman/listinfo/linux-mtd/ Thanks,
On Wed, 23 Mar 2016 21:53:27 -0400 Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org> wrote: How about adding the following message: " bch->dev is already assigned to &pdev->dev in the probe function. Remove the duplicate assignment done in jz4780_bch_get(). " If you agree I'll add this commit message while applying (no need to resend). Harvey, can I have your ack on this patch? Thanks, Boris > Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org> > --- > drivers/mtd/nand/jz4780_bch.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/mtd/nand/jz4780_bch.c b/drivers/mtd/nand/jz4780_bch.c > index 755499c..d74f4ba 100644 > --- a/drivers/mtd/nand/jz4780_bch.c > +++ b/drivers/mtd/nand/jz4780_bch.c > @@ -287,7 +287,6 @@ static struct jz4780_bch *jz4780_bch_get(struct device_node *np) > bch = platform_get_drvdata(pdev); > clk_prepare_enable(bch->clk); > > - bch->dev = &pdev->dev; > return bch; > } >
Hi, On 30/03/16 15:34, Boris Brezillon wrote: > On Wed, 23 Mar 2016 21:53:27 -0400 > Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org> wrote: > > How about adding the following message: > > " > bch->dev is already assigned to &pdev->dev in the probe function. > Remove the duplicate assignment done in jz4780_bch_get(). > " > > If you agree I'll add this commit message while applying (no need to > resend). That sounds good to me. Congrats on the maintainership btw. :-) > > Harvey, can I have your ack on this patch? Acked-by: Harvey Hunt <harvey.hunt@imgtec.com> > > Thanks, > > Boris > Thanks, Harvey >> Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org> >> --- >> drivers/mtd/nand/jz4780_bch.c | 1 - >> 1 file changed, 1 deletion(-) >> >> diff --git a/drivers/mtd/nand/jz4780_bch.c b/drivers/mtd/nand/jz4780_bch.c >> index 755499c..d74f4ba 100644 >> --- a/drivers/mtd/nand/jz4780_bch.c >> +++ b/drivers/mtd/nand/jz4780_bch.c >> @@ -287,7 +287,6 @@ static struct jz4780_bch *jz4780_bch_get(struct device_node *np) >> bch = platform_get_drvdata(pdev); >> clk_prepare_enable(bch->clk); >> >> - bch->dev = &pdev->dev; >> return bch; >> } >> > > >
On 03/30/2016 10:34 AM, Boris Brezillon wrote: > On Wed, 23 Mar 2016 21:53:27 -0400 > Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org> wrote: > > How about adding the following message: > > " > bch->dev is already assigned to &pdev->dev in the probe function. > Remove the duplicate assignment done in jz4780_bch_get(). > " > > If you agree I'll add this commit message while applying (no need to > resend). I am so sorry - got side tracked I should have followed up. yes that is what I tried (seems like I failed miserably) to indicated in the commit title. > > Harvey, can I have your ack on this patch? > > Thanks, > > Boris
On Wed, 30 Mar 2016 15:36:51 +0100 Harvey Hunt <harvey.hunt@imgtec.com> wrote: > Hi, > > On 30/03/16 15:34, Boris Brezillon wrote: > > On Wed, 23 Mar 2016 21:53:27 -0400 > > Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org> wrote: > > > > How about adding the following message: > > > > " > > bch->dev is already assigned to &pdev->dev in the probe function. > > Remove the duplicate assignment done in jz4780_bch_get(). > > " > > > > If you agree I'll add this commit message while applying (no need to > > resend). > > That sounds good to me. Congrats on the maintainership btw. :-) Thanks. > > > > > Harvey, can I have your ack on this patch? > > Acked-by: Harvey Hunt <harvey.hunt@imgtec.com> Applied to nand/next. Thanks, Boris
diff --git a/drivers/mtd/nand/jz4780_bch.c b/drivers/mtd/nand/jz4780_bch.c index 755499c..d74f4ba 100644 --- a/drivers/mtd/nand/jz4780_bch.c +++ b/drivers/mtd/nand/jz4780_bch.c @@ -287,7 +287,6 @@ static struct jz4780_bch *jz4780_bch_get(struct device_node *np) bch = platform_get_drvdata(pdev); clk_prepare_enable(bch->clk); - bch->dev = &pdev->dev; return bch; }
Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org> --- drivers/mtd/nand/jz4780_bch.c | 1 - 1 file changed, 1 deletion(-)