Trivial but required change to build SPI EEPPROM driver.

This commit is contained in:
Sebastien Lorquet 2016-06-21 06:29:26 -06:00 committed by Gregory Nutt
parent 8b1a607671
commit 9a22ed1095
1 changed files with 1 additions and 4 deletions

View File

@ -387,8 +387,6 @@ static void ee25xx_waitwritecomplete(struct ee25xx_dev_s *priv)
}
}
while ((status & EE25XX_SR_WIP) != 0);
finfo("Complete\n");
}
/****************************************************************************
@ -815,8 +813,7 @@ int ee25xx_initialize(FAR struct spi_dev_s *dev, FAR char *devname,
eedev->readonly = !!readonly;
info(LOG_NOTICE,
"EEPROM device %s, %d bytes, %d per page, addrlen %d, readonly %d\n",
finfo("EEPROM device %s, %d bytes, %d per page, addrlen %d, readonly %d\n",
devname, eedev->size, eedev->pgsize, eedev->addrlen, eedev->readonly);
return register_driver(devname, &ee25xx_fops, 0666, eedev);