hwspinlock: remove use of __devexit

CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton <[email protected]>
Cc: Ohad Ben-Cohen <[email protected]>
Cc: Srinidhi Kasagar <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
Bill Pemberton 2012-11-19 13:25:52 -05:00 • committed by Greg Kroah-Hartman
commit e533a349c0
2 changed files with 2 additions and 2 deletions

View file

@ -142,7 +142,7 @@ iounmap_base:
return ret;
}
static int __devexit omap_hwspinlock_remove(struct platform_device *pdev)
static int omap_hwspinlock_remove(struct platform_device *pdev)
{
struct hwspinlock_device *bank = platform_get_drvdata(pdev);
void __iomem *io_base = bank->lock[0].priv - LOCK_BASE_OFFSET;

View file

@ -148,7 +148,7 @@ iounmap_base:
return ret;
}
static int __devexit u8500_hsem_remove(struct platform_device *pdev)
static int u8500_hsem_remove(struct platform_device *pdev)
{
struct hwspinlock_device *bank = platform_get_drvdata(pdev);
void __iomem *io_base = bank->lock[0].priv - HSEM_REGISTER_OFFSET;