Skip to contentSkip to conversation

hwmon: (emc2103) Fix typo in MODULE_PARM_DESC

PATCH Applied Dan Carpenter 2 participants 2 messages Jan 8, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hwmon: (emc2103) Fix typo in MODULE_PARM_DESC

"apd" was intended here instead of "init".

drivers/hwmon/emc2103.c +1 -1
index 952fe69..24e395c 100644
@@ -58,7 +58,7 @@ static const u8 REG_TEMP_MAX[4] = { 0x34, 0x30, 0x31, 0x32 };
  */
 static int apd = -1;
 module_param(apd, bint, 0);
-MODULE_PARM_DESC(init, "Set to zero to disable anti-parallel diode mode");
+MODULE_PARM_DESC(apd, "Set to zero to disable anti-parallel diode mode");
 
 struct temperature {
 	s8	degrees;
Applied
#1 lore raw

Hi Dan,

Quoted 9 lines · Dan Carpenter

"apd" was intended here instead of "init".

drivers/hwmon/emc2103.c +0 -0
index 952fe69..24e395c 100644

drivers/hwmon/emc2103.c static const u8 REG_TEMP_MAX[4] = { 0x34, 0x30, 0x31, 0x32 }; · line 64

Quoted 8 lines
drivers/hwmon/emc2103.c +1 -1
@@ -58,7 +58,7 @@ static const u8 REG_TEMP_MAX[4] = { 0x34, 0x30, 0x31, 0x32 };
  */
 static int apd = -1;
 module_param(apd, bint, 0);
-MODULE_PARM_DESC(init, "Set to zero to disable anti-parallel diode mode");
+MODULE_PARM_DESC(apd, "Set to zero to disable anti-parallel diode mode");
 
 struct temperature {
 	s8	degrees;

Applied, thanks.

Signature · 2 lines
Jean Delvare
SUSE L3 Support