diff options
Diffstat (limited to 'drivers/platform/x86/amd/hsmp.c')
| -rw-r--r-- | drivers/platform/x86/amd/hsmp.c | 6 | 
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/platform/x86/amd/hsmp.c b/drivers/platform/x86/amd/hsmp.c index 521c6a229362..31382ef52efb 100644 --- a/drivers/platform/x86/amd/hsmp.c +++ b/drivers/platform/x86/amd/hsmp.c @@ -340,16 +340,14 @@ static int hsmp_pltdrv_probe(struct platform_device *pdev)  	return misc_register(&hsmp_device);  } -static int hsmp_pltdrv_remove(struct platform_device *pdev) +static void hsmp_pltdrv_remove(struct platform_device *pdev)  {  	misc_deregister(&hsmp_device); - -	return 0;  }  static struct platform_driver amd_hsmp_driver = {  	.probe		= hsmp_pltdrv_probe, -	.remove		= hsmp_pltdrv_remove, +	.remove_new	= hsmp_pltdrv_remove,  	.driver		= {  		.name	= DRIVER_NAME,  	},  |