summaryrefslogtreecommitdiff
path: root/drivers/memory/ti-emif-pm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/memory/ti-emif-pm.c')
-rw-r--r--drivers/memory/ti-emif-pm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/memory/ti-emif-pm.c b/drivers/memory/ti-emif-pm.c
index cef0d3beb63b..df362ecc59e9 100644
--- a/drivers/memory/ti-emif-pm.c
+++ b/drivers/memory/ti-emif-pm.c
@@ -315,15 +315,13 @@ fail_free_sram:
return ret;
}
-static int ti_emif_remove(struct platform_device *pdev)
+static void ti_emif_remove(struct platform_device *pdev)
{
struct ti_emif_data *emif_data = emif_instance;
emif_instance = NULL;
ti_emif_free_sram(emif_data);
-
- return 0;
}
static const struct dev_pm_ops ti_emif_pm_ops = {