Add device managed APIs devm_pinctrl_register() and devm_pinctrl_unregister() for the APIs pinctrl_register() and pinctrl_unregister(). This helps in reducing code in error path and sometimes removal of .remove callback for driver unbind. Change-Id: I6e5f092ed0d830f8fdf357d51ae7d65fe9fb2020 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de> Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tao Huang <huangtao@rock-chips.com> (cherry picked from commit |
||
|---|---|---|
| .. | ||
| consumer.h | ||
| devinfo.h | ||
| machine.h | ||
| pinconf-generic.h | ||
| pinconf.h | ||
| pinctrl-state.h | ||
| pinctrl.h | ||
| pinmux.h | ||