commit | 8f13d55a2e51e901ebfeb4f4092b3201b834e585 | [log] [tgz] |
---|---|---|
author | Geert Uytterhoeven <geert+renesas@glider.be> | Wed Oct 04 14:19:03 2017 +0200 |
committer | Simon Horman <horms+renesas@verge.net.au> | Fri May 18 15:48:28 2018 +0200 |
tree | 5b345663f49416d60a7d8be5a6a349c2fb68900e | |
parent | fc72a4171174dd6b7ddefe5eeaa12cec9a162704 [diff] |
mtd: nand: sh_flctl: Use of_device_get_match_data() helper Use the of_device_get_match_data() helper instead of open coding. While at it, make config const so the cast can be dropped. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> (cherry picked from commit b8640c5b8bef7e24fe54d2713f4c91b563a65c55) Signed-off-by: Simon Horman <horms+renesas@verge.net.au>