Skip to content
Unverified Commit 4332ea8f authored by Lukas Wunner's avatar Lukas Wunner Committed by Mark Brown
Browse files

spi: amd: Drop duplicate driver data assignments



The AMD SPI driver calls platform_set_drvdata() on probe even though
it's already been set by __spi_alloc_controller().  Likewise, it calls
platform_set_drvdata() on remove even though it's going to be set by
__device_release_driver().  Drop the duplicate assignments.

Signed-off-by: default avatarLukas Wunner <lukas@wunner.de>
Link: https://lore.kernel.org/r/499f8ad4759c2ff0f586e0459fb9a293faecff6d.1588590210.git.lukas@wunner.de


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