wifi: iwlwifi: pcie: fix an indent error reported by checkpatch.pl
PATCH v2 1/1 wifi: iwlwifi: pcie: fix an indent error reported by checkpatch.pl
ERROR: switch and case should be at the same indent
+ switch (REG_CRF_ID_TYPE(val)) {
[...]
+ case REG_CRF_ID_TYPE_FM:
We should use Git post-commit hooks to avoid such errors.
Signed-off-by Aiden Leong <[email protected]>
--- drivers/net/wireless/intel/iwlwifi/pcie/drv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/net/wireless/intel/iwlwifi/pcie/drv.c +3 -3
@@ -1416,9 +1416,9 @@ static int map_crf_id(struct iwl_trans *iwl_trans)case REG_CRF_ID_TYPE_MR : iwl_trans->hw_rf_id = (IWL_CFG_RF_TYPE_MR <<12 );break ; -case REG_CRF_ID_TYPE_FM : - iwl_trans->hw_rf_id = (IWL_CFG_RF_TYPE_FM <<12 ); -break ; +case REG_CRF_ID_TYPE_FM : + iwl_trans->hw_rf_id = (IWL_CFG_RF_TYPE_FM <<12 ); +break ;default : ret = -EIO ; IWL_ERR(iwl_trans,
Signature · 1 line
2.39.0