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>
Signed-off-by: Mark Brown <broonie@linaro.org>
}
st = kzalloc(sizeof(struct tle62x0_state), GFP_KERNEL);
}
st = kzalloc(sizeof(struct tle62x0_state), GFP_KERNEL);
- if (st == NULL) {
- dev_err(&spi->dev, "no memory for device state\n");
st->us = spi;
st->nr_gpio = pdata->gpio_count;
st->us = spi;
st->nr_gpio = pdata->gpio_count;