summaryrefslogtreecommitdiff
path: root/drivers/misc/eeprom/eeprom.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/eeprom/eeprom.c')
-rw-r--r--drivers/misc/eeprom/eeprom.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/misc/eeprom/eeprom.c b/drivers/misc/eeprom/eeprom.c
index 2cfe3d4ae144..226b5efa6a77 100644
--- a/drivers/misc/eeprom/eeprom.c
+++ b/drivers/misc/eeprom/eeprom.c
@@ -175,6 +175,10 @@ static int eeprom_probe(struct i2c_client *client,
}
}
+ /* Let the users know they are using deprecated driver */
+ dev_notice(&client->dev,
+ "eeprom driver is deprecated, please use at24 instead\n");
+
/* create the sysfs eeprom file */
return sysfs_create_bin_file(&client->dev.kobj, &eeprom_attr);
}