[pkg-fso-commits] [SCM] linux-2.6-openmoko, the Linux 2.6 kernel tree from Openmoko branch, andy-tracking, updated. upstream/20090303.gitb9de904e-140-g23b564c
Werner Almesberger
werner at openmoko.org
Mon Jun 8 17:29:55 UTC 2009
The following commit has been merged in the andy-tracking branch:
commit 18f5e41da61cfb512042c1978e24e07bde6917cf
Author: Tim Niemeyer <tim.niemeyer at mastersword.de>
Date: Fri Mar 27 17:27:53 2009 +0100
remove sysfs-links on remove
Signed-off-by: Tim Niemeyer <tim.niemeyer at mastersword.de>
diff --git a/arch/arm/plat-s3c24xx/neo1973_pm_gps.c b/arch/arm/plat-s3c24xx/neo1973_pm_gps.c
index b5322f2..93b4911 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);
}
--
linux-2.6-openmoko, the Linux 2.6 kernel tree from Openmoko
More information about the pkg-fso-commits
mailing list