Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-03-19 | spi: Add function to allocate a new SPI slave | Simon Glass | |
At present it is difficult to extend the SPI structure since all drivers allocate it themselves, and few of them zero all fields. Add a new function spi_alloc_slave() which can be used by SPI drivers to perform this allocation, and thus ensure that all drivers can better cope with SPI structure changes. Signed-off-by: Simon Glass <sjg@chromium.org> |