diff options
author | Philippe Langlais <philippe.langlais@linaro.org> | 2012-01-12 11:46:46 +0100 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@linaro.org> | 2012-03-06 17:30:05 +0100 |
commit | 7655f48b706c77246d44524525bbca1ff8db2109 (patch) | |
tree | f337813fd69661e92ca2c66aa4ac9710ac6f3a8a | |
parent | 8b2dfb7ec65a2722bf5f78a7c01cdbc3c96cd067 (diff) |
sdi: ux500: Coding style fixes
Fix the most obvious violations of the kernel coding style
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
-rw-r--r-- | arch/arm/mach-ux500/board-mop500-sdi.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/arch/arm/mach-ux500/board-mop500-sdi.c b/arch/arm/mach-ux500/board-mop500-sdi.c index 9a9f3b8117a..4ac7a9ad5fd 100644 --- a/arch/arm/mach-ux500/board-mop500-sdi.c +++ b/arch/arm/mach-ux500/board-mop500-sdi.c @@ -150,21 +150,21 @@ static struct mmci_platform_data mop500_sdi1_data = { static void sdi0_sdi1_configure(void) { - int ret; + int ret; - ret = gpio_request(sdi0_en, "level shifter enable"); - if (!ret) - ret = gpio_request(sdi0_vsel, - "level shifter 1v8-3v select"); + ret = gpio_request(sdi0_en, "level shifter enable"); + if (!ret) + ret = gpio_request(sdi0_vsel, + "level shifter 1v8-3v select"); - if (ret) { - pr_warning("unable to config sdi0 gpios for level shifter.\n"); - return; - } + if (ret) { + pr_warning("unable to config sdi0 gpios for level shifter.\n"); + return; + } - /* Select the default 2.9V and enable level shifter */ - gpio_direction_output(sdi0_vsel, 0); - gpio_direction_output(sdi0_en, 1); + /* Select the default 2.9V and enable level shifter */ + gpio_direction_output(sdi0_vsel, 0); + gpio_direction_output(sdi0_en, 1); /* Add the device, force v2 to subrevision 1 */ db8500_add_sdi0(&mop500_sdi0_data, U8500_SDI_V2_PERIPHID); |