Unverified Commit ca8e8a18 authored by Lucas Tanure's avatar Lucas Tanure Committed by Mark Brown
Browse files

spi: amd: Refactor code to use less spi_master_get_devdata



Get master data in the start and then just use struct amd_spi
as it has the needed variable

Signed-off-by: default avatarLucas Tanure <tanureal@opensource.cirrus.com>
Reviewed-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20210910111529.12539-1-tanureal@opensource.cirrus.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent becbca18
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment