Browse Source

samsung: clean up checkpatch issues

This patch will fix these checkpatch issues.

CHECK: Alignment should match open parenthesis
+			printf("Enter: %s %s\n", mode_name[mode][0],
+						 mode_info[mode]);

CHECK: Alignment should match open parenthesis
+			lcd_printf("\n\n\t%s %s\n", mode_name[mode][0],
+						    mode_info[mode]);

CHECK: Alignment should match open parenthesis
+		lcd_printf("\t%s  %s - %s\n\n", selection[i],
+						mode_name[i][0],

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang 9 năm trước cách đây
mục cha
commit
de5f9733f6
1 tập tin đã thay đổi với 3 bổ sung4 xóa
  1. 3 4
      board/samsung/common/misc.c

+ 3 - 4
board/samsung/common/misc.c

@@ -259,9 +259,9 @@ static int mode_leave_menu(int mode)
 		cmd = find_cmd(mode_name[mode][1]);
 		cmd = find_cmd(mode_name[mode][1]);
 		if (cmd) {
 		if (cmd) {
 			printf("Enter: %s %s\n", mode_name[mode][0],
 			printf("Enter: %s %s\n", mode_name[mode][0],
-						 mode_info[mode]);
+			       mode_info[mode]);
 			lcd_printf("\n\n\t%s %s\n", mode_name[mode][0],
 			lcd_printf("\n\n\t%s %s\n", mode_name[mode][0],
-						    mode_info[mode]);
+				   mode_info[mode]);
 			lcd_puts("\n\tDo not turn off device before finish!\n");
 			lcd_puts("\n\tDo not turn off device before finish!\n");
 
 
 			cmd_result = run_command(mode_cmd[mode], 0);
 			cmd_result = run_command(mode_cmd[mode], 0);
@@ -318,8 +318,7 @@ static void display_download_menu(int mode)
 
 
 	for (i = 0; i <= BOOT_MODE_EXIT; i++)
 	for (i = 0; i <= BOOT_MODE_EXIT; i++)
 		lcd_printf("\t%s  %s - %s\n\n", selection[i],
 		lcd_printf("\t%s  %s - %s\n\n", selection[i],
-						mode_name[i][0],
-						mode_info[i]);
+			   mode_name[i][0], mode_info[i]);
 }
 }
 
 
 static void download_menu(void)
 static void download_menu(void)