|
@@ -206,16 +206,8 @@ static int jz4740_wdt_probe(struct platform_device *pdev)
|
|
|
return 0;
|
|
return 0;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-static int jz4740_wdt_remove(struct platform_device *pdev)
|
|
|
|
|
-{
|
|
|
|
|
- struct jz4740_wdt_drvdata *drvdata = platform_get_drvdata(pdev);
|
|
|
|
|
-
|
|
|
|
|
- return jz4740_wdt_stop(&drvdata->wdt);
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
static struct platform_driver jz4740_wdt_driver = {
|
|
static struct platform_driver jz4740_wdt_driver = {
|
|
|
.probe = jz4740_wdt_probe,
|
|
.probe = jz4740_wdt_probe,
|
|
|
- .remove = jz4740_wdt_remove,
|
|
|
|
|
.driver = {
|
|
.driver = {
|
|
|
.name = "jz4740-wdt",
|
|
.name = "jz4740-wdt",
|
|
|
.of_match_table = of_match_ptr(jz4740_wdt_of_matches),
|
|
.of_match_table = of_match_ptr(jz4740_wdt_of_matches),
|