gpio: janz-ttl: 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> Reviewed-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
d4c4f88338
commit
4920c4aa2d
@ -158,7 +158,6 @@ static int ttl_probe(struct platform_device *pdev)
|
||||
|
||||
mod = kzalloc(sizeof(*mod), GFP_KERNEL);
|
||||
if (!mod) {
|
||||
dev_err(dev, "unable to allocate private data\n");
|
||||
ret = -ENOMEM;
|
||||
goto out_return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user