* Output:
* none
*/
-static int ltq_ptm_remove(struct platform_device *pdev)
+static void ltq_ptm_remove(struct platform_device *pdev)
{
int i;
ifx_ptm_uninit_chip();
clear_priv_data();
-
- return 0;
}
static struct platform_driver ltq_ptm_driver = {
.probe = ltq_ptm_probe,
- .remove = ltq_ptm_remove,
+ .remove_new = ltq_ptm_remove,
.driver = {
.name = "ptm",
.of_match_table = ltq_ptm_match,
return ret;
}
-static int ltq_ptm_remove(struct platform_device *pdev)
+static void ltq_ptm_remove(struct platform_device *pdev)
{
int i;
ifx_mei_atm_showtime_enter = NULL;
ifx_ptm_uninit_chip();
clear_priv_data();
-
- return 0;
}
#ifndef MODULE
#endif
static struct platform_driver ltq_ptm_driver = {
.probe = ltq_ptm_probe,
- .remove = ltq_ptm_remove,
+ .remove_new = ltq_ptm_remove,
.driver = {
.name = "ptm",
.of_match_table = ltq_ptm_match,