commit | c98f71d1c05601cff0f302889933798020e08869 | [log] [tgz] |
---|---|---|
author | Brian Norris <computersforpeace@gmail.com> | Mon Nov 16 10:45:30 2015 -0800 |
committer | Brian Norris <computersforpeace@gmail.com> | Wed Nov 18 10:31:23 2015 -0800 |
tree | 6ead085b0b422b7adfe2e01c7894e7b61aeafff5 | |
parent | fc5adbebac6ffab461492f7a415648b29b1a3b31 [diff] |
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>