commit | da4b1caa49cbfac4e5be2c4b080b8d01b04358dd | [log] [tgz] |
---|---|---|
author | Rafał Miłecki <rafal@milecki.pl> | Thu Mar 30 17:58:53 2017 +0200 |
committer | Brian Norris <computersforpeace@gmail.com> | Wed Apr 19 15:26:26 2017 -0700 |
tree | fca43ee8b4d291494c7a418df39d73e597f4a0a1 | |
parent | b3bb6d6a0fe1c893fbcaaac8bf97c49f6ec6684e [diff] |
mtd: physmap_of: use OF helpers for reading strings 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@milecki.pl> Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>