From: Charles Keepax Date: Wed, 19 Jun 2024 12:17:02 +0000 (+0100) Subject: spi: cs42l43: Refactor accessing the SDCA extension properties X-Git-Tag: v6.11-rc1~205^2~22 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cc169cf869fdac34531fd4d0e7317f0576883228;p=thirdparty%2Flinux.git 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 Link: https://patch.msgid.link/20240619121703.3411989-1-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown --- diff --git a/drivers/spi/spi-cs42l43.c b/drivers/spi/spi-cs42l43.c index 0a4475ae931bc..7b6fc6158a3bd 100644 --- a/drivers/spi/spi-cs42l43.c +++ b/drivers/spi/spi-cs42l43.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include