Re: [PATCH] mtd: nand: gpio: Remove unneeded CONFIG_OF

Alexander Shiyan shc_work at mail.ru
Sat Dec 7 10:43:51 EST 2013


> > > > > Since the of_mtd header provides dummy stubs for !CONFIG_OF, it's safe
> > > > > to remove the #ifdef CONFIG_OF. Build tested only.
...
> > > Actually, I realise now we don't need to of_match_ptr, so let
> > > me push a v2.
> > 
> > And without of_match_ptr() we do not need to define "__maybe_unused" for this :)
> > 
> Yup :-)
> 
> Care to give the v2 a test? I've just submitted it.

I see. Looks good, compile test is enough for such changes.

---


More information about the linux-mtd mailing list