spi: cf_qspi: Fixup to_cf_qspi_slave macro
The third parameter of container_of is the name of the member within the struct. Current code only works if the parameter passed to to_cf_qspi_slave named slave. Fix it. Signed-off-by: NAxel Lin <axel.lin@ingics.com> Reviewed-by: NJagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
Showing
想要评论请 注册 或 登录