summaryrefslogtreecommitdiffstats
path: root/drivers/iio/accel
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2019-07-21 12:53:53 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-07-27 21:11:18 +0200
commit80343f5b8a203c5643dfdcc87a6e7a6d4db81226 (patch)
tree724727e95823082a6c3821a9a21e7f2799828a2e /drivers/iio/accel
parentIIO: stm32: Remove quadrature related functions from trigger driver (diff)
downloadlinux-80343f5b8a203c5643dfdcc87a6e7a6d4db81226.tar.xz
linux-80343f5b8a203c5643dfdcc87a6e7a6d4db81226.zip
iio: sca3000: Fix a typo
All #define are about SCA3000_... except the last one. Make it consistent. s/SAC3000/SCA3000/ This #define is apparently unused up to now. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/accel')
-rw-r--r--drivers/iio/accel/sca3000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/accel/sca3000.c b/drivers/iio/accel/sca3000.c
index a923f90f6e80..66d768d971e1 100644
--- a/drivers/iio/accel/sca3000.c
+++ b/drivers/iio/accel/sca3000.c
@@ -111,7 +111,7 @@
/* Currently unsupported */
#define SCA3000_MD_CTRL_AND_Y BIT(3)
#define SCA3000_MD_CTRL_AND_X BIT(4)
-#define SAC3000_MD_CTRL_AND_Z BIT(5)
+#define SCA3000_MD_CTRL_AND_Z BIT(5)
/*
* Some control registers of complex access methods requiring this register to