Pinctrl driver uses the devm_pinctrl_register and hence it is not required to generate code for .remove callback. Remove the need of .remove callback. Signed-off-by: Laxman Dewangan <ldewangan@xxxxxxxxxx> --- soc-to-kernel-pinctrl-driver.py | 1 - 1 file changed, 1 deletion(-) diff --git a/soc-to-kernel-pinctrl-driver.py b/soc-to-kernel-pinctrl-driver.py index f5851f5..65e4c60 100755 --- a/soc-to-kernel-pinctrl-driver.py +++ b/soc-to-kernel-pinctrl-driver.py @@ -643,7 +643,6 @@ static struct platform_driver %(soc)s_pinctrl_driver = { .of_match_table = %(soc)s_pinctrl_of_match, }, .probe = %(soc)s_pinctrl_probe, - .remove = tegra_pinctrl_remove, }; module_platform_driver(%(soc)s_pinctrl_driver); -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html