aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorIvan Khoronzhuk <[email protected]>2013-12-17 13:36:05 +0000
committerBrian Norris <[email protected]>2014-01-03 19:22:24 +0000
commitf735a4d0d5b76c6035f30749c4e0aa64b3a9a74e (patch)
tree76672d02b64d196a0879954d5fd5162fc853723d /drivers/mtd/lpddr/lpddr_cmds.c
parentmtd: nand: davinci: fix driver registration (diff)
downloadkernel-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