tpm_infineon: remove use of __devexit_p
authorBill Pemberton <[email protected]>
Mon, 19 Nov 2012 18:19:57 +0000 (13:19 -0500)
committerGreg Kroah-Hartman <[email protected]>
Wed, 28 Nov 2012 19:08:24 +0000 (11:08 -0800)
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.

Signed-off-by: Bill Pemberton <[email protected]>
Cc: Rajiv Andrade <[email protected]>
Cc: Marcel Selhorst <[email protected]>
Cc: Sirrix AG <[email protected]>
Acked-by: Kent Yoder <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/char/tpm/tpm_infineon.c

index 8d9ff73faac307c9164bbd75d2548d8cbf761e68..0126e8098672f8052465dac8c40fcc764463b1fd 100644 (file)
@@ -655,7 +655,7 @@ static struct pnp_driver tpm_inf_pnp_driver = {
        .probe = tpm_inf_pnp_probe,
        .suspend = tpm_inf_pnp_suspend,
        .resume = tpm_inf_pnp_resume,
-       .remove = __devexit_p(tpm_inf_pnp_remove)
+       .remove = tpm_inf_pnp_remove
 };
 
 static int __init init_inf(void)