diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-04-29 04:21:25 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-04-29 15:01:41 -0400 |
commit | 1e8231b79ccbb3e6e7b3f6af9f998dca16b00efe (patch) | |
tree | 3eeb4edc20143423ad96dcffe068d46eb7bf1c37 | |
parent | 1273eb0506c474a128d06025de98c5ca4a11cf14 (diff) |
spi: sh-msiof: remove unnecessary OOM messages
The site-specific OOM messages are unnecessary, because they
duplicate the MM subsystem generic OOM message.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r-- | drivers/spi/spi-sh-msiof.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/spi/spi-sh-msiof.c b/drivers/spi/spi-sh-msiof.c index e850d03e7190..45b09142afe2 100644 --- a/drivers/spi/spi-sh-msiof.c +++ b/drivers/spi/spi-sh-msiof.c | |||
@@ -642,10 +642,8 @@ static struct sh_msiof_spi_info *sh_msiof_spi_parse_dt(struct device *dev) | |||
642 | u32 num_cs = 1; | 642 | u32 num_cs = 1; |
643 | 643 | ||
644 | info = devm_kzalloc(dev, sizeof(struct sh_msiof_spi_info), GFP_KERNEL); | 644 | info = devm_kzalloc(dev, sizeof(struct sh_msiof_spi_info), GFP_KERNEL); |
645 | if (!info) { | 645 | if (!info) |
646 | dev_err(dev, "failed to allocate setup data\n"); | ||
647 | return NULL; | 646 | return NULL; |
648 | } | ||
649 | 647 | ||
650 | /* Parse the MSIOF properties */ | 648 | /* Parse the MSIOF properties */ |
651 | of_property_read_u32(np, "num-cs", &num_cs); | 649 | of_property_read_u32(np, "num-cs", &num_cs); |