summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorVaibhav Hiremath <vaibhav.hiremath@linaro.org>2016-02-13 02:04:04 +0530
committerGreg Kroah-Hartman <gregkh@google.com>2016-02-15 13:18:40 -0800
commit5993e2bfd848538b1f3e8e3de6412f76e600c69f (patch)
treeaf3b2b8b34fe837f113ded77b557486ac1e4b299 /drivers
parent49e6e04bb44e4f3bf2c6d3c2c096257da2cb54ff (diff)
greybus: arche-platform: Rename cleanup fn to poweroff_seq
In sync with operational states, rename arche_platform_cleanup() fn to arche_platform_poweroff_seq() fn. Testing Done: Tested on EVT1.2 and DB3.5 platform. Signed-off-by: Vaibhav Hiremath <vaibhav.hiremath@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/greybus/arche-platform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/greybus/arche-platform.c b/drivers/staging/greybus/arche-platform.c
index 3b7974dad12a..48ab1eb24d63 100644
--- a/drivers/staging/greybus/arche-platform.c
+++ b/drivers/staging/greybus/arche-platform.c
@@ -130,7 +130,7 @@ static int arche_platform_coldboot_seq(struct arche_platform_drvdata *arche_pdat
return 0;
}
-static void arche_platform_cleanup(struct arche_platform_drvdata *arche_pdata)
+static void arche_platform_poweroff_seq(struct arche_platform_drvdata *arche_pdata)
{
clk_disable_unprepare(arche_pdata->svc_ref_clk);
/* As part of exit, put APB back in reset state */
@@ -264,7 +264,7 @@ static int arche_platform_remove(struct platform_device *pdev)
cancel_delayed_work_sync(&arche_pdata->delayed_work);
device_for_each_child(&pdev->dev, NULL, arche_remove_child);
- arche_platform_cleanup(arche_pdata);
+ arche_platform_poweroff_seq(arche_pdata);
platform_set_drvdata(pdev, NULL);
unexport_gpios(arche_pdata);