Signed-off-by: Antony Pavlov <antonynpavlov@xxxxxxxxx> --- drivers/eeprom/at25.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/eeprom/at25.c b/drivers/eeprom/at25.c index 5578c78..9bd7748 100644 --- a/drivers/eeprom/at25.c +++ b/drivers/eeprom/at25.c @@ -232,15 +232,10 @@ static ssize_t at25_ee_write(struct cdev *cdev, return written ? written : status; } -static loff_t at25_ee_lseek(struct cdev *cdev, loff_t off) -{ - return off; -} - static struct file_operations at25_fops = { .read = at25_ee_read, .write = at25_ee_write, - .lseek = at25_ee_lseek, + .lseek = dev_lseek_default, }; static int at25_probe(struct device_d *dev) -- 1.7.10.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox