Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b8640c5b authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Boris Brezillon
Browse files

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: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
parent 7963f58c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment