pinctrl: rockchip: return a complete config in pinconf_get
authorHeiko Stübner <heiko@sntech.de>
Wed, 23 Apr 2014 12:27:51 +0000 (14:27 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 23 Apr 2014 21:18:37 +0000 (23:18 +0200)
Till now pinconf_get only set the argument value into the config parameter
effectively removing the actual config param value. As other pinctrl drivers
do, it might be nicer to keep the config param intact.
Therefore construct a real pinconfig value from param and arg in pinconf_get

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-rockchip.c

Simple merge