diff options
| author | Ivan Khoronzhuk <[email protected]> | 2013-12-17 13:36:05 +0000 |
|---|---|---|
| committer | Brian Norris <[email protected]> | 2014-01-03 19:22:24 +0000 |
| commit | f735a4d0d5b76c6035f30749c4e0aa64b3a9a74e (patch) | |
| tree | 76672d02b64d196a0879954d5fd5162fc853723d /drivers/mtd/lpddr/lpddr_cmds.c | |
| parent | mtd: nand: davinci: fix driver registration (diff) | |
| download | kernel-f735a4d0d5b76c6035f30749c4e0aa64b3a9a74e.tar.gz kernel-f735a4d0d5b76c6035f30749c4e0aa64b3a9a74e.zip | |
mtd: nand: davinci: return ENOMEM if memory allocation is failed
In case when memory allocation is failed the driver should return
ENOMEM instead of ENODEV.
Reviewed-by: Grygorii Strashko <[email protected]>
Reviewed-by: Taras Kondratiuk <[email protected]>
Signed-off-by: Ivan Khoronzhuk <[email protected]>
Signed-off-by: Brian Norris <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions
