![]() in case devm_platform_ioremap_resource() fails, that function already prints a relevant error message which renders the driver's dev_err() redundant. Let's remove the unnecessary message and, while at that, also make sure to pass along the error value returned by devm_platform_ioremap_resource() instead of always returning -ENOMEM. Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com> Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com> [balbi@kernel.org : improved commit log] Signed-off-by: Felipe Balbi <balbi@kernel.org> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
bdc.h | ||
bdc_cmd.c | ||
bdc_cmd.h | ||
bdc_core.c | ||
bdc_dbg.c | ||
bdc_dbg.h | ||
bdc_ep.c | ||
bdc_ep.h | ||
bdc_pci.c | ||
bdc_udc.c |