From: Boris Brezillon <boris.brezillon@bootlin.com>
To: "Rafał Miłecki" <zajec5@gmail.com>
Cc: "David Woodhouse" <dwmw2@infradead.org>,
"Brian Norris" <computersforpeace@gmail.com>,
"Boris Brezillon" <boris.brezillon@free-electrons.com>,
"Marek Vasut" <marek.vasut@gmail.com>,
"Richard Weinberger" <richard@nod.at>,
"Miquel Raynal" <miquel.raynal@bootlin.com>,
"Bert Kenward" <bkenward@solarflare.com>,
linux-mtd@lists.infradead.org, "Rafał Miłecki" <rafal@milecki.pl>
Subject: Re: [PATCH 1/2] mtd: lpddr: use mtd_device_register()
Date: Tue, 24 Jul 2018 07:57:17 +0200 [thread overview]
Message-ID: <20180724075717.0f5cf3d4@bbrezillon> (raw)
In-Reply-To: <20180721115510.24078-1-zajec5@gmail.com>
On Sat, 21 Jul 2018 13:55:09 +0200
Rafał Miłecki <zajec5@gmail.com> wrote:
> From: Rafał Miłecki <rafal@milecki.pl>
>
> This driver doesn't specify parsers so it can use that little helper.
>
> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Applied this one to mtd/next.
> ---
> drivers/mtd/lpddr/lpddr2_nvm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mtd/lpddr/lpddr2_nvm.c b/drivers/mtd/lpddr/lpddr2_nvm.c
> index 5d73db2a496d..c950c880ad59 100644
> --- a/drivers/mtd/lpddr/lpddr2_nvm.c
> +++ b/drivers/mtd/lpddr/lpddr2_nvm.c
> @@ -476,7 +476,7 @@ static int lpddr2_nvm_probe(struct platform_device *pdev)
> return -EINVAL;
> }
> /* Parse partitions and register the MTD device */
> - return mtd_device_parse_register(mtd, NULL, NULL, NULL, 0);
> + return mtd_device_register(mtd, NULL, 0);
> }
>
> /*
prev parent reply other threads:[~2018-07-24 5:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-21 11:55 [PATCH 1/2] mtd: lpddr: use mtd_device_register() Rafał Miłecki
2018-07-21 11:55 ` [PATCH 2/2] mtd: spi-nor: intel-spi: " Rafał Miłecki
2018-07-24 8:42 ` Boris Brezillon
2018-07-24 5:57 ` Boris Brezillon [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180724075717.0f5cf3d4@bbrezillon \
--to=boris.brezillon@bootlin.com \
--cc=bkenward@solarflare.com \
--cc=boris.brezillon@free-electrons.com \
--cc=computersforpeace@gmail.com \
--cc=dwmw2@infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=marek.vasut@gmail.com \
--cc=miquel.raynal@bootlin.com \
--cc=rafal@milecki.pl \
--cc=richard@nod.at \
--cc=zajec5@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox