[PATCH 03/28] mtd: introduce mtd_erase interface
Artem Bityutskiy
dedekind1 at gmail.com
Tue Dec 27 04:47:53 EST 2011
On Tue, 2011-12-27 at 11:37 +0200, Artem Bityutskiy wrote:
> On Tue, 2011-12-27 at 04:22 -0500, Mike Frysinger wrote:
> > On Fri, Dec 23, 2011 at 13:10, Artem Bityutskiy wrote:
> > > static inline struct mtd_info *dev_to_mtd(struct device *dev)
> > > {
> > > return dev ? dev_get_drvdata(dev) : NULL;
> >
> > on an unrelated note, this NULL check is unnecessary. the core func
> > already takes care of checking the pointer.
>
> Sure, I can cook a separate patch for this, thanks!
Which will probably kill entire 'dev_to_mtd()', but not for
this merge window.
--
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20111227/c43a0b37/attachment.sig>
More information about the linux-mtd
mailing list