mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
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>
This commit is contained in:
parent
7963f58cbf
commit
b8640c5b8b
1 changed files with 3 additions and 6 deletions
Loading…
Add table
Add a link
Reference in a new issue