summaryrefslogtreecommitdiff
path: root/drivers/virt/coco/efi_secret/efi_secret.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/virt/coco/efi_secret/efi_secret.c')
-rw-r--r--drivers/virt/coco/efi_secret/efi_secret.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/virt/coco/efi_secret/efi_secret.c b/drivers/virt/coco/efi_secret/efi_secret.c
index cd29e66b1543..1864f9f80617 100644
--- a/drivers/virt/coco/efi_secret/efi_secret.c
+++ b/drivers/virt/coco/efi_secret/efi_secret.c
@@ -334,7 +334,7 @@ static void efi_secret_remove(struct platform_device *dev)
static struct platform_driver efi_secret_driver = {
.probe = efi_secret_probe,
- .remove_new = efi_secret_remove,
+ .remove = efi_secret_remove,
.driver = {
.name = "efi_secret",
},