commit | 094d1a89714e412706809821241026724de7a025 | [log] [tgz] |
---|---|---|
author | Tony Lindgren <tony@atomide.com> | Mon Aug 29 09:11:43 2016 -0700 |
committer | Scott Wood <oss@buserror.net> | Thu Sep 01 17:30:25 2016 -0500 |
tree | f7ca138a7dd0542b8bd1be227f0f993b15f5cd3f | |
parent | 3c2170a818ee28ef0a688afb0aafa1d37a34e503 [diff] |
nand: Fix nand info for no device Looks like we have few more places where we're testing for nand_info[i]->name. We can now use just test for nand_info[i] instead. This fixes a data abort on devices with no NAND when doing nand info. Signed-off-by: Tony Lindgren <tony@atomide.com> Reviewed-by: Tom Rini <trini@konsulko.com>