commit | 81a66446c319225c4a8f0c4c0d9cf4ee10f8c2b9 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Mon Feb 09 15:11:09 2015 +0800 |
committer | Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com> | Mon Mar 30 01:39:20 2015 +0530 |
tree | 829c56c5913793f6ee1f0d5325a63027f2b6c142 | |
parent | aa8306a90e398e5667ccd03ef8512837116bcc51 [diff] |
spi: ftssp010_spi: Use to_ftssp010_spi() to ensure free correct address Don't assume slave is always the first member of struct ftssp010_spi. Use to_ftssp010_spi() to ensure free correct address in spi_free_slave(). Signed-off-by: Axel Lin <axel.lin@ingics.com> Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>