diff options
author | Tony Lindgren <tony@atomide.com> | 2016-08-29 09:11:43 -0700 |
---|---|---|
committer | Scott Wood <oss@buserror.net> | 2016-09-01 17:30:25 -0500 |
commit | 4004a81828c72311f9c310c38d903b3f6638465d (patch) | |
tree | f7ca138a7dd0542b8bd1be227f0f993b15f5cd3f /drivers/serial/usbtty.c | |
parent | 91395b5d4ebb07bf6488058f0ba37256856816f6 (diff) | |
download | u-boot-imx-4004a81828c72311f9c310c38d903b3f6638465d.zip u-boot-imx-4004a81828c72311f9c310c38d903b3f6638465d.tar.gz u-boot-imx-4004a81828c72311f9c310c38d903b3f6638465d.tar.bz2 |
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>
Diffstat (limited to 'drivers/serial/usbtty.c')
0 files changed, 0 insertions, 0 deletions