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)
commitdab3eba7c13cff58dbff767dd02ffb847255ddd3
treeab7ecdc109704d303f31d7e847d3f74487e6f0aa
parent7420d2d09b1279996e06efa6792f9f13c1863b1e
pinctrl: rockchip: return a complete config in pinconf_get

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