commit | ef4bbdec95cfa64d188e05aea64cbb16a21d7d97 | [log] [tgz] |
---|---|---|
author | Zhao Qiang <B45475@freescale.com> | Thu Jun 26 11:26:43 2014 +0800 |
committer | Mark Brown <broonie@linaro.org> | Wed Jul 02 20:50:17 2014 +0100 |
tree | 6b704e26f871c3e8e7a83583aa2b306b3f9e159a | |
parent | 7171511eaec5bf23fb06078f59784a3a0626b38f [diff] |
spi/fsl: deal with a compile warning ret is unused when CONFIG_FSL_SOC defined, so return ret instead of -ENOMEM when the kzalloc fails to avoid it. Signed-off-by: Zhao Qiang <B45475@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org>