From 18f5e41da61cfb512042c1978e24e07bde6917cf Mon Sep 17 00:00:00 2001 From: Tim Niemeyer Date: Fri, 27 Mar 2009 17:27:53 +0100 Subject: remove sysfs-links on remove Signed-off-by: Tim Niemeyer --- arch/arm/plat-s3c24xx/neo1973_pm_gps.c | 1 + 1 file changed, 1 insertion(+) (limited to 'arch') 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); } -- cgit v1.2.3