浏览代码

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>
Michael Witten 14 年之前
父节点
当前提交
0314322d13
共有 3 个文件被更改,包括 4 次插入4 次删除
  1. 1 1
      include/linux/cordic.h
  2. 2 2
      lib/Kconfig
  3. 1 1
      lib/cordic.c

+ 1 - 1
include/linux/cordic.h

@@ -36,7 +36,7 @@ struct cordic_iq {
  * @coord: function output parameter holding the i/q coordinate.
  * @coord: function output parameter holding the i/q coordinate.
  *
  *
  * The function calculates the i/q coordinate for a given angle using
  * 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
  * 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
  * 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
  * values are scaled by 2^16 for precision. The range for theta is

+ 2 - 2
lib/Kconfig

@@ -270,9 +270,9 @@ config AVERAGE
 	  If unsure, say N.
 	  If unsure, say N.
 
 
 config CORDIC
 config CORDIC
-	tristate "Cordic function"
+	tristate "CORDIC function"
 	help
 	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
 	  so its calculations are in fixed point. Modules can select this
 	  when they require this function. Module will be called cordic.
 	  when they require this function. Module will be called cordic.
 
 

+ 1 - 1
lib/cordic.c

@@ -96,6 +96,6 @@ struct cordic_iq cordic_calc_iq(s32 theta)
 }
 }
 EXPORT_SYMBOL(cordic_calc_iq);
 EXPORT_SYMBOL(cordic_calc_iq);
 
 
-MODULE_DESCRIPTION("Cordic functions");
+MODULE_DESCRIPTION("CORDIC functions");
 MODULE_AUTHOR("Broadcom Corporation");
 MODULE_AUTHOR("Broadcom Corporation");
 MODULE_LICENSE("Dual BSD/GPL");
 MODULE_LICENSE("Dual BSD/GPL");