]> www.infradead.org Git - users/jedix/linux-maple.git/commit
spi: cs42l43: Refactor accessing the SDCA extension properties
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Wed, 19 Jun 2024 12:17:02 +0000 (13:17 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 20 Jun 2024 20:10:14 +0000 (21:10 +0100)
commitcc169cf869fdac34531fd4d0e7317f0576883228
tree4edd4342fbe9a4e2ade484a4db2bfc69ad8cea6f
parent741b31df024c397edbc499525fa2de1514b1a627
spi: cs42l43: Refactor accessing the SDCA extension properties

Refactor accessing the SDCA extension properties to make it easier to
access multiple properties to assist with future features. Return the
node itself and allow the caller to read the actual properties.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20240619121703.3411989-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-cs42l43.c