summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Witten <mfwitten@gmail.com>2011-07-29 12:53:20 +0000
committerJiri Kosina <jkosina@suse.cz>2011-10-29 21:20:21 +0200
commit0314322d1303065568f33869cbd01d7f7367efc4 (patch)
tree08ba9cbd4da083ef56192981f59a9966572aca37
parent0f60be20ca783ef5eb26936032f4114b935348cf (diff)
downloadop-kernel-dev-0314322d1303065568f33869cbd01d7f7367efc4.zip
op-kernel-dev-0314322d1303065568f33869cbd01d7f7367efc4.tar.gz
Docs: Pedantry: [Cc]ordic -> CORDIC
According to: http://en.wikipedia.org/wiki/CORDIC it stands for: *CO*ordinate *R*otation *DI*gital *C*omputer Signed-off-by: Michael Witten <mfwitten@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r--include/linux/cordic.h2
-rw-r--r--lib/Kconfig4
-rw-r--r--lib/cordic.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/cordic.h b/include/linux/cordic.h
index f932093..686f6bf 100644
--- a/include/linux/cordic.h
+++ b/include/linux/cordic.h
@@ -36,7 +36,7 @@ struct cordic_iq {
* @coord: function output parameter holding the i/q coordinate.
*
* The function calculates the i/q coordinate for a given angle using
- * cordic algorithm. The coordinate consists of a real (i) and an
+ * CORDIC algorithm. The coordinate consists of a real (i) and an
* imaginary (q) part. The real part is essentially the cosine of the
* angle and the imaginary part is the sine of the angle. The returned
* values are scaled by 2^16 for precision. The range for theta is
diff --git a/lib/Kconfig b/lib/Kconfig
index 6c695ff..0bb69f6 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -270,9 +270,9 @@ config AVERAGE
If unsure, say N.
config CORDIC
- tristate "Cordic function"
+ tristate "CORDIC function"
help
- The option provides arithmetic function using cordic algorithm
+ The option provides arithmetic function using CORDIC algorithm
so its calculations are in fixed point. Modules can select this
when they require this function. Module will be called cordic.
diff --git a/lib/cordic.c b/lib/cordic.c
index aa27a88..09b3403 100644
--- a/lib/cordic.c
+++ b/lib/cordic.c
@@ -96,6 +96,6 @@ struct cordic_iq cordic_calc_iq(s32 theta)
}
EXPORT_SYMBOL(cordic_calc_iq);
-MODULE_DESCRIPTION("Cordic functions");
+MODULE_DESCRIPTION("CORDIC functions");
MODULE_AUTHOR("Broadcom Corporation");
MODULE_LICENSE("Dual BSD/GPL");
OpenPOWER on IntegriCloud