pinctrl: cherryview: Convert to use devm_gpiochip_add_data()
authorMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 20 Sep 2016 12:15:23 +0000 (15:15 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 23 Sep 2016 12:59:42 +0000 (14:59 +0200)
commitd1073418d952f6a3557a888ffd666cc8c21362b1
tree64b980dae02d7bb1e6f80707903831677137b66e
parent47c950d1020226179d278297c85ba6a988ee398b
pinctrl: cherryview: Convert to use devm_gpiochip_add_data()

This simplifies the error handling and allows us to drop the whole
chv_pinctrl_remove() function.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/intel/pinctrl-cherryview.c