OpenCloudOS-Kernel/arch/arm/mach-davinci
Christophe JAILLET 951e395686 ARM: davinci: dm646x-evm: Simplify error handling in 'evm_sw_setup()'
There is no need to call 'gpio_free(evm_sw_gpio[i])' for these error
handling cases, it is already done in the error handling path at label
'out_free'.

Simplify the code and axe a few LoC.

While at it, also explicitly return 0 in the normal path.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
2020-07-22 00:34:21 +05:30
..
include/mach ARM: davinci: Replace HTTP links with HTTPS ones 2020-07-21 20:21:33 +05:30
Kconfig ARM: davinci: Replace HTTP links with HTTPS ones 2020-07-21 20:21:33 +05:30
Makefile ARM: davinci: remove legacy timer support 2020-01-13 13:20:00 +05:30
Makefile.boot License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
asp.h ARM: davinci: wrap HW interrupt numbers with a macro 2019-02-19 19:40:52 +05:30
board-da830-evm.c ARM: davinci: Fix trivial spelling 2020-07-21 23:35:09 +05:30
board-da850-evm.c ARM: davinci: Replace HTTP links with HTTPS ones 2020-07-21 20:21:33 +05:30
board-dm355-evm.c ARM: davinci: add missing sentinels to GPIO lookup tables 2019-04-12 19:43:54 +05:30
board-dm355-leopard.c ARM: davinci: aintc: wrap davinci_irq_init() with a helper 2019-02-19 19:44:21 +05:30
board-dm365-evm.c ARM: davinci: dm365-evm: Add Fixed regulators needed for tlv320aic3101 2020-01-13 17:35:35 +05:30
board-dm644x-evm.c ARM: davinci: fix build failure without I2C 2020-05-28 12:35:00 +02:00
board-dm646x-evm.c ARM: davinci: dm646x-evm: Simplify error handling in 'evm_sw_setup()' 2020-07-22 00:34:21 +05:30
board-mityomapl138.c ARM: davinci: Replace HTTP links with HTTPS ones 2020-07-21 20:21:33 +05:30
board-neuros-osd2.c ARM: davinci: Replace HTTP links with HTTPS ones 2020-07-21 20:21:33 +05:30
board-omapl138-hawk.c ARM: davinci: Replace HTTP links with HTTPS ones 2020-07-21 20:21:33 +05:30
board-sffsdr.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
clock.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
common.c ARM: davinci: pull davinci_intc_base into the respective intc drivers 2019-02-19 19:40:38 +05:30
cpuidle.c ARM: davinci: Replace HTTP links with HTTPS ones 2020-07-21 20:21:33 +05:30
cpuidle.h ARM: davinci: Replace HTTP links with HTTPS ones 2020-07-21 20:21:33 +05:30
da8xx-dt.c ARM: davinci: Replace HTTP links with HTTPS ones 2020-07-21 20:21:33 +05:30
da830.c ARM: davinci: da830: switch to using the clocksource driver 2019-08-08 00:22:49 +05:30
da850.c ARM: davinci: Replace HTTP links with HTTPS ones 2020-07-21 20:21:33 +05:30
davinci.h ARM: davinci: move timer definitions to davinci.h 2019-08-08 00:22:49 +05:30
ddr2.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
devices-da8xx.c ARM: davinci: remove legacy timer support 2020-01-13 13:20:00 +05:30
devices.c ARM: SoC: late updates 2020-02-08 14:17:27 -08:00
dm355.c ARM: davinci: dm355: switch to using the clocksource driver 2019-08-08 00:22:49 +05:30
dm365.c ARM: davinci: dm365: switch to using the clocksource driver 2020-01-13 13:20:00 +05:30
dm644x.c ARM: davinci: dm644x: switch to using the clocksource driver 2019-08-26 17:49:07 +05:30
dm646x.c ARM: davinci: dm646x: Fix a typo in the comment 2019-08-26 17:51:28 +05:30
irqs.h ARM: davinci: make irqs.h a local header 2019-02-19 19:44:02 +05:30
mux.c ARM: davinci: davinci_cfg_reg cannot be init 2015-02-18 12:20:25 +01:00
mux.h Davinci: eliminate pinmux offset verbosity 2010-05-06 15:02:09 -07:00
pdata-quirks.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
pm.c ARM: davinci: Replace HTTP links with HTTPS ones 2020-07-21 20:21:33 +05:30
pm_domain.c ARM: davinci: da8xx-dt: switch to device tree clocks 2018-06-26 16:20:03 +05:30
psc.h ARM: davinci: remove legacy clocks 2018-06-26 16:15:55 +05:30
serial.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
sleep.S ARM: davinci: Replace HTTP links with HTTPS ones 2020-07-21 20:21:33 +05:30
sram.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
sram.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
usb-da8xx.c ARM: davinci: make irqs.h a local header 2019-02-19 19:44:02 +05:30
usb.c ARM: davinci: make irqs.h a local header 2019-02-19 19:44:02 +05:30