eeprom: at24: call read/write functions via function pointers