summaryrefslogtreecommitdiff
path: root/drivers/crypto/atmel-sha204a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/crypto/atmel-sha204a.c')
-rw-r--r--drivers/crypto/atmel-sha204a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/atmel-sha204a.c b/drivers/crypto/atmel-sha204a.c
index 50363999b990..e4087bdd2475 100644
--- a/drivers/crypto/atmel-sha204a.c
+++ b/drivers/crypto/atmel-sha204a.c
@@ -160,7 +160,7 @@ static int __init atmel_sha204a_init(void)
static void __exit atmel_sha204a_exit(void)
{
- flush_scheduled_work();
+ atmel_i2c_flush_queue();
i2c_del_driver(&atmel_sha204a_driver);
}