gpio: stm32_gpio: move clock config from driver to board
authorVikas Manocha <vikas.manocha@st.com>
Thu, 11 Feb 2016 23:47:17 +0000 (15:47 -0800)
committerTom Rini <trini@konsulko.com>
Wed, 24 Feb 2016 23:42:49 +0000 (18:42 -0500)
commit14cec061139a8fb0461d8748d14a2dbcf8a56f2e
tree10fcbecd724fa06c64df250df3802762e45f70b1
parent52dd704bf8eda7ca039cdb398ec0b6895c3ef939
gpio: stm32_gpio: move clock config from driver to board

This patch removes the gpio clock enable from gpio driver & move it in the
board code, making it possible to use the gpio driver with other socs.

Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
arch/arm/include/asm/arch-stm32f4/stm32_periph.h
arch/arm/mach-stm32/stm32f4/clock.c
board/st/stm32f429-discovery/stm32f429-discovery.c
drivers/gpio/stm32_gpio.c