mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
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>
This commit is contained in:
parent
9eae844125
commit
1d83970f6f
1 changed files with 7 additions and 8 deletions
|
@ -33,13 +33,6 @@ enum {
|
||||||
ODROID_TYPES,
|
ODROID_TYPES,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char *mmc_regulators[] = {
|
|
||||||
"VDDQ_EMMC_1.8V",
|
|
||||||
"VDDQ_EMMC_2.8V",
|
|
||||||
"TFLASH_2.8V",
|
|
||||||
NULL,
|
|
||||||
};
|
|
||||||
|
|
||||||
void set_board_type(void)
|
void set_board_type(void)
|
||||||
{
|
{
|
||||||
/* Set GPA1 pin 1 to HI - enable XCL205 output */
|
/* Set GPA1 pin 1 to HI - enable XCL205 output */
|
||||||
|
@ -428,6 +421,13 @@ int exynos_init(void)
|
||||||
|
|
||||||
int exynos_power_init(void)
|
int exynos_power_init(void)
|
||||||
{
|
{
|
||||||
|
const char *mmc_regulators[] = {
|
||||||
|
"VDDQ_EMMC_1.8V",
|
||||||
|
"VDDQ_EMMC_2.8V",
|
||||||
|
"TFLASH_2.8V",
|
||||||
|
NULL,
|
||||||
|
};
|
||||||
|
|
||||||
if (regulator_list_autoset(mmc_regulators, NULL, true))
|
if (regulator_list_autoset(mmc_regulators, NULL, true))
|
||||||
error("Unable to init all mmc regulators");
|
error("Unable to init all mmc regulators");
|
||||||
|
|
||||||
|
@ -450,7 +450,6 @@ static int s5pc210_phy_control(int on)
|
||||||
return regulator_set_mode(dev, OPMODE_ON);
|
return regulator_set_mode(dev, OPMODE_ON);
|
||||||
else
|
else
|
||||||
return regulator_set_mode(dev, OPMODE_LPM);
|
return regulator_set_mode(dev, OPMODE_LPM);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
struct s3c_plat_otg_data s5pc210_otg_data = {
|
struct s3c_plat_otg_data s5pc210_otg_data = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue