rockchip: spi: Avoid setting the pinctrl twice
authorSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 02:43:44 +0000 (19:43 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 03:42:34 +0000 (20:42 -0700)
commit6d97786b4c695b45056a00bac07124cac0a81204
tree203d6c372a99090ae4f4d58c2c2e15ed4e13de3e
parent71037d1ca0a302ac0db8846a18589f856b54341e
rockchip: spi: Avoid setting the pinctrl twice

If full pinctrl is enabled we don't need to manually set the pinctrl in the
driver. It will happen automatically. Adjust the code to suit - we will
still use manual mode in SPL.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/spi/rk_spi.c