diff options
author | Brian Norris <computersforpeace@gmail.com> | 2015-11-16 19:45:30 +0100 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-11-18 19:31:23 +0100 |
commit | c98f71d1c05601cff0f302889933798020e08869 (patch) | |
tree | 6ead085b0b422b7adfe2e01c7894e7b61aeafff5 /Kconfig | |
parent | Documentation: mtd: improve nand_ecc.txt for readability and correctness (diff) | |
download | linux-c98f71d1c05601cff0f302889933798020e08869.tar.xz linux-c98f71d1c05601cff0f302889933798020e08869.zip |
mtd: fsl-quadspi: possible NULL dereference
It is theoretically possible to probe this driver without a matching
device tree, so let's guard against this.
Also, use the of_device_get_match_data() helper to make this a bit
simpler.
Coverity complained about this one.
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Acked-by: Han xu <han.xu@freescale.com>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions