diff mbox

[pinmux,scripts,2/2] soc: Get rid of .remove callback

Message ID 1462214805-26735-2-git-send-email-ldewangan@nvidia.com
State Deferred
Delegated to: Stephen Warren
Headers show

Commit Message

Laxman Dewangan May 2, 2016, 6:46 p.m. UTC
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@nvidia.com>
---
 soc-to-kernel-pinctrl-driver.py | 1 -
 1 file changed, 1 deletion(-)
diff mbox

Patch

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);