Skip to content
Snippets Groups Projects
Commit 81a66446 authored by Axel Lin's avatar Axel Lin Committed by Jagannadha Sutradharudu Teki
Browse files

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: default avatarAxel Lin <axel.lin@ingics.com>
Reviewed-by: default avatarJagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
parent aa8306a9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment