summaryrefslogtreecommitdiff
path: root/drivers/i2c/i2c-atr.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/i2c-atr.c')
-rw-r--r--drivers/i2c/i2c-atr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/i2c-atr.c b/drivers/i2c/i2c-atr.c
index b7c10ced5a43..8fe9ddff8e96 100644
--- a/drivers/i2c/i2c-atr.c
+++ b/drivers/i2c/i2c-atr.c
@@ -412,7 +412,7 @@ static int i2c_atr_bus_notifier_call(struct notifier_block *nb,
dev_name(dev), ret);
break;
- case BUS_NOTIFY_DEL_DEVICE:
+ case BUS_NOTIFY_REMOVED_DEVICE:
i2c_atr_detach_client(client->adapter, client);
break;