aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/plat-s3c24xx/neo1973_pm_gps.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/plat-s3c24xx/neo1973_pm_gps.c b/arch/arm/plat-s3c24xx/neo1973_pm_gps.c
index b5322f200b4..93b491137e7 100644
--- a/arch/arm/plat-s3c24xx/neo1973_pm_gps.c
+++ b/arch/arm/plat-s3c24xx/neo1973_pm_gps.c
@@ -764,6 +764,7 @@ static int gta01_pm_gps_remove(struct platform_device *pdev)
regulator_put(neo1973_gps.regulator[i]);
}
#endif
+ bus_remove_device_link(&platform_bus_type, "gta01-pm-gps.0");
sysfs_remove_group(&pdev->dev.kobj, &gta01_gps_attr_group);
}