diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2016-09-19 11:21:18 +0200 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2016-11-07 14:48:38 +0100 |
commit | 8bd8fbd8bccf6e32198000792ee8d1e9189f441f (patch) | |
tree | e1ed84fa34c2d3d92786699706540a06afa1078a /include/net/datalink.h | |
parent | 6ea40a3ba93e1b14ffb349e276f9dfefc4334b99 (diff) |
mtd: nand: pxa3xx_nand: write exactly one message on probe failure
For some error paths alloc_nand_resource() emitted an error message, for
others it didn't. Make it consistently print a message including the
error code where it's not constant and drop the hardly helpful
additional message printed by the caller of alloc_nand_resource.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'include/net/datalink.h')
0 files changed, 0 insertions, 0 deletions