Commit 1d83970f6f6003276373843b8e2fd75f78f1caf3

Authored by Minkyu Kang
1 parent 9eae844125

odroid: clean up checkpatch issues

This patch will fix these checkpatch issues.

+static const char *mmc_regulators[] = {

CHECK: Blank lines aren't necessary before a close brace '}'
+
+}

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>

Showing 1 changed file with 7 additions and 8 deletions Side-by-side Diff

board/samsung/odroid/odroid.c
... ... @@ -33,13 +33,6 @@
33 33 ODROID_TYPES,
34 34 };
35 35  
36   -static const char *mmc_regulators[] = {
37   - "VDDQ_EMMC_1.8V",
38   - "VDDQ_EMMC_2.8V",
39   - "TFLASH_2.8V",
40   - NULL,
41   -};
42   -
43 36 void set_board_type(void)
44 37 {
45 38 /* Set GPA1 pin 1 to HI - enable XCL205 output */
... ... @@ -428,6 +421,13 @@
428 421  
429 422 int exynos_power_init(void)
430 423 {
  424 + const char *mmc_regulators[] = {
  425 + "VDDQ_EMMC_1.8V",
  426 + "VDDQ_EMMC_2.8V",
  427 + "TFLASH_2.8V",
  428 + NULL,
  429 + };
  430 +
431 431 if (regulator_list_autoset(mmc_regulators, NULL, true))
432 432 error("Unable to init all mmc regulators");
433 433  
... ... @@ -450,7 +450,6 @@
450 450 return regulator_set_mode(dev, OPMODE_ON);
451 451 else
452 452 return regulator_set_mode(dev, OPMODE_LPM);
453   -
454 453 }
455 454  
456 455 struct s3c_plat_otg_data s5pc210_otg_data = {