All of lore.kernel.org
 help / color / mirror / Atom feed
From: bbrezillon@kernel.org (Boris Brezillon)
To: linux-mtd@lists.infradead.org
Subject: mtd: Implement mtd_{read, write}() as wrappers around mtd_{read, write}_oob()
Date: Wed, 16 Jan 2019 20:32:54 +0100	[thread overview]
Message-ID: <20190116193254.5208-1-bbrezillon@kernel.org> (raw)
In-Reply-To: <20181220141320.32226-1-boris.brezillon@bootlin.com>

On Thu, 2018-12-20 at 14:13:20 UTC, Boris Brezillon wrote:
> mtd_{read,write}_oob() already take care of checking the params and
> calling ->_{read,write}() or  ->_{read,write}_oob() based on the
> request and the operations supported by the MTD device.
> No need to duplicate the logic, we can simply implement
> mtd_{read,write}() as wrappers around mtd_{read,write}_oob().
> 
> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
> Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>

Applied to http://git.infradead.org/linux-mtd.git mtd/next, thanks.

Boris

      parent reply	other threads:[~2019-01-16 19:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-20 14:13 [PATCH] mtd: Implement mtd_{read, write}() as wrappers around mtd_{read, write}_oob() Boris Brezillon
2019-01-16 10:54 ` [PATCH] mtd: Implement mtd_{read,write}() as wrappers around mtd_{read,write}_oob() Miquel Raynal
2019-01-16 19:32 ` 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=20190116193254.5208-1-bbrezillon@kernel.org \
    --to=bbrezillon@kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.