diff options
author | Tim Niemeyer <tim.niemeyer@mastersword.de> | 2009-03-27 17:27:53 +0100 |
---|---|---|
committer | Werner Almesberger <werner@openmoko.org> | 2009-03-31 04:34:25 -0300 |
commit | 18f5e41da61cfb512042c1978e24e07bde6917cf (patch) | |
tree | 62865fdd7acd05f3127d497f63a0b4dcafd92bdf | |
parent | 8ce8fdbdb2d1ea30109aa816b9557dbf37ea58ad (diff) |
remove sysfs-links on remove
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
-rw-r--r-- | arch/arm/plat-s3c24xx/neo1973_pm_gps.c | 1 |
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, >a01_gps_attr_group); } |