I'm trying to understand how the read/write on "eeprom" device node in linux works ? I'm using at24 (drivers/misc/eeprom/at24.c) i2c driver to access my eeprom. From userspace, I'm able to do open/read/write/close on the created device node and I can access the eeprom without any issues. But I can't seem to find the corresponding callbacks defined in the at24 driver. Does anyone know how this works ?
Thanks in advance!