[PATCH] mtd: physmap_of: use OF helpers for reading strings

Brian Norris computersforpeace at gmail.com
Thu Apr 20 15:27:50 PDT 2017


On Fri, Mar 31, 2017 at 10:02:39AM +0200, Boris Brezillon wrote:
> On Thu, 30 Mar 2017 17:58:53 +0200
> Rafał Miłecki <zajec5 at gmail.com> wrote:
> 
> > From: Rafał Miłecki <rafal at milecki.pl>
> > 
> > OF core code provides helpers for counting strings and reading them so
> > use them instead of doing this manually. This simplifies the code a bit.
> > 
> > Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
> 
> Reviewed-by: Boris Brezillon <boris.brezillon at free-electrons.com>

Applied as a cleanup, while we figure out the future of this binding.
With luck we can deprecate it (but not remove it, of course) and use
something better in the generic code.



More information about the linux-mtd mailing list