commit | 4004a81828c72311f9c310c38d903b3f6638465d | [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 | 91395b5d4ebb07bf6488058f0ba37256856816f6 [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>