backlight: ili922x: 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: Stefano Babic <sbabic@denx.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
aff70f9ab1
commit
619e1b491b
|
@ -482,10 +482,8 @@ static int ili922x_probe(struct spi_device *spi)
|
|||
u16 reg = 0;
|
||||
|
||||
ili = devm_kzalloc(&spi->dev, sizeof(*ili), GFP_KERNEL);
|
||||
if (!ili) {
|
||||
dev_err(&spi->dev, "cannot alloc priv data\n");
|
||||
if (!ili)
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
ili->spi = spi;
|
||||
spi_set_drvdata(spi, ili);
|
||||
|
|
Loading…
Reference in New Issue