summaryrefslogtreecommitdiff
path: root/drivers/spi
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.cirrus.com>2024-06-19 13:17:02 +0100
committerMark Brown <broonie@kernel.org>2024-06-20 21:10:14 +0100
commitcc169cf869fdac34531fd4d0e7317f0576883228 (patch)
tree4edd4342fbe9a4e2ade484a4db2bfc69ad8cea6f /drivers/spi
parent741b31df024c397edbc499525fa2de1514b1a627 (diff)
downloadlwn-cc169cf869fdac34531fd4d0e7317f0576883228.tar.gz
lwn-cc169cf869fdac34531fd4d0e7317f0576883228.zip
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>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi-cs42l43.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/spi-cs42l43.c b/drivers/spi/spi-cs42l43.c
index 0a4475ae931b..7b6fc6158a3b 100644
--- a/drivers/spi/spi-cs42l43.c
+++ b/drivers/spi/spi-cs42l43.c
@@ -9,6 +9,7 @@
#include <linux/array_size.h>
#include <linux/bits.h>
#include <linux/bitfield.h>
+#include <linux/cleanup.h>
#include <linux/device.h>
#include <linux/errno.h>
#include <linux/gpio/machine.h>