After the commit
9b643e312d52 ("treewide: replace with error() with
pr_err()"), there are some pr_err() with no line break. Add missing
line breaks.
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
ret = board_usb_init(controller_index, USB_INIT_DEVICE);
if (ret) {
- pr_err("USB init failed: %d", ret);
+ pr_err("USB init failed: %d\n", ret);
return CMD_RET_FAILURE;
}
*uc_pdata = dev_get_uclass_platdata(*devp);
if (!*uc_pdata) {
- pr_err("Regulator: %s - missing platform data!", currdev->name);
+ pr_err("Regulator: %s - missing platform data!\n", currdev->name);
return CMD_RET_FAILURE;
}
int controller_index = simple_strtoul(usb_controller, NULL, 0);
ret = board_usb_init(controller_index, USB_INIT_DEVICE);
if (ret) {
- pr_err("USB init failed: %d", ret);
+ pr_err("USB init failed: %d\n", ret);
ret = CMD_RET_FAILURE;
goto exit;
}
ret = thor_init();
if (ret) {
- pr_err("THOR DOWNLOAD failed: %d", ret);
+ pr_err("THOR DOWNLOAD failed: %d\n", ret);
ret = CMD_RET_FAILURE;
goto exit;
}
ret = thor_handle();
if (ret) {
- pr_err("THOR failed: %d", ret);
+ pr_err("THOR failed: %d\n", ret);
ret = CMD_RET_FAILURE;
goto exit;
}
controller_index = (unsigned int)(simple_strtoul(
usb_controller, NULL, 0));
if (board_usb_init(controller_index, USB_INIT_DEVICE)) {
- pr_err("Couldn't init USB controller.");
+ pr_err("Couldn't init USB controller.\n");
rc = CMD_RET_FAILURE;
goto cleanup_ums_init;
}
rc = fsg_init(ums, ums_count);
if (rc) {
- pr_err("fsg_init failed");
+ pr_err("fsg_init failed\n");
rc = CMD_RET_FAILURE;
goto cleanup_board;
}
rc = g_dnl_register("usb_dnl_ums");
if (rc) {
- pr_err("g_dnl_register failed");
+ pr_err("g_dnl_register failed\n");
rc = CMD_RET_FAILURE;
goto cleanup_board;
}