Commit d2abe692 authored by Solomon Tan's avatar Solomon Tan Committed by Johannes Berg

wifi: iwlwifi: Remove prohibited spaces

This patch addresses the error from checkpatch.pl regarding the presence
of prohibited spaces.
Signed-off-by: default avatarSolomon Tan <solomonbstoner@protonmail.ch>
Signed-off-by: default avatarGregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230314194113.557d6841a166.I0957923fe9ea20c1ec9140477033548ccfe93e9a@changeidSigned-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent e2e76bdc
...@@ -81,7 +81,7 @@ static const u16 iwl_nvm_channels[] = { ...@@ -81,7 +81,7 @@ static const u16 iwl_nvm_channels[] = {
/* 2.4 GHz */ /* 2.4 GHz */
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
/* 5 GHz */ /* 5 GHz */
36, 40, 44 , 48, 52, 56, 60, 64, 36, 40, 44, 48, 52, 56, 60, 64,
100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 144, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 144,
149, 153, 157, 161, 165 149, 153, 157, 161, 165
}; };
......
...@@ -214,9 +214,9 @@ static ssize_t iwl_dbgfs_set_nic_temperature_read(struct file *file, ...@@ -214,9 +214,9 @@ static ssize_t iwl_dbgfs_set_nic_temperature_read(struct file *file,
int pos; int pos;
if (!mvm->temperature_test) if (!mvm->temperature_test)
pos = scnprintf(buf , sizeof(buf), "disabled\n"); pos = scnprintf(buf, sizeof(buf), "disabled\n");
else else
pos = scnprintf(buf , sizeof(buf), "%d\n", mvm->temperature); pos = scnprintf(buf, sizeof(buf), "%d\n", mvm->temperature);
return simple_read_from_buffer(user_buf, count, ppos, buf, pos); return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
} }
...@@ -261,7 +261,7 @@ static ssize_t iwl_dbgfs_set_nic_temperature_write(struct iwl_mvm *mvm, ...@@ -261,7 +261,7 @@ static ssize_t iwl_dbgfs_set_nic_temperature_write(struct iwl_mvm *mvm,
mvm->temperature = temperature; mvm->temperature = temperature;
} }
IWL_DEBUG_TEMP(mvm, "%sabling debug set temperature (temp = %d)\n", IWL_DEBUG_TEMP(mvm, "%sabling debug set temperature (temp = %d)\n",
mvm->temperature_test ? "En" : "Dis" , mvm->temperature_test ? "En" : "Dis",
mvm->temperature); mvm->temperature);
/* handle the temperature change */ /* handle the temperature change */
iwl_mvm_tt_handler(mvm); iwl_mvm_tt_handler(mvm);
...@@ -291,7 +291,7 @@ static ssize_t iwl_dbgfs_nic_temp_read(struct file *file, ...@@ -291,7 +291,7 @@ static ssize_t iwl_dbgfs_nic_temp_read(struct file *file,
if (ret) if (ret)
return -EIO; return -EIO;
pos = scnprintf(buf , sizeof(buf), "%d\n", temp); pos = scnprintf(buf, sizeof(buf), "%d\n", temp);
return simple_read_from_buffer(user_buf, count, ppos, buf, pos); return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment