spi: s3c64xx: Use the managed spi master allocation function
authorAndi Shyti <andi.shyti@kernel.org>
Tue, 6 Jun 2023 01:20:50 +0000 (03:20 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 6 Jun 2023 12:53:38 +0000 (13:53 +0100)
commit76fbad410c0fed0c203c22e7e5ef8455725f3338
treec72d8a3ff94376ea39cb932b897e638fe965da4b
parent8098a931c080d32687aee72a1dfac98507a6034b
spi: s3c64xx: Use the managed spi master allocation function

Use devm_spi_alloc_master() and get rid of one goto error path

Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20230606012051.2139333-2-andi.shyti@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-s3c64xx.c