mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
mtd: atmel_nand: Use of_device_get_match_data
Remove the need for forward declaration and the risk for a null pointer when accessing the private part of the compatible match table, by using the newly introduced of_device_get_match_data function. Signed-off-by: Romain Izard <romain.izard.pro@gmail.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
This commit is contained in:
parent
e88b7f7d6c
commit
8ce06d379a
1 changed files with 1 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue