net: wireless: reg.c: delete duplicated words + fix punctuation
authorRandy Dunlap <rdunlap@infradead.org>
Sat, 22 Aug 2020 23:19:50 +0000 (16:19 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 27 Aug 2020 09:23:21 +0000 (11:23 +0200)
Drop duplicated words "was" and "does".
Fix "let's" apostrophe.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Johannes Berg <johannes.berg@intel.com>
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: linux-wireless@vger.kernel.org
Link: https://lore.kernel.org/r/20200822231953.465-5-rdunlap@infradead.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/reg.c

index 35b8847..dad1200 100644 (file)
@@ -1594,7 +1594,7 @@ freq_reg_info_regd(u32 center_freq,
 
                /*
                 * We only need to know if one frequency rule was
-                * was in center_freq's band, that's enough, so lets
+                * in center_freq's band, that's enough, so let's
                 * not overwrite it once found
                 */
                if (!band_rule_found)
@@ -3167,7 +3167,7 @@ static void restore_custom_reg_settings(struct wiphy *wiphy)
  *   - send a user regulatory hint if applicable
  *
  * Device drivers that send a regulatory hint for a specific country
- * keep their own regulatory domain on wiphy->regd so that does does
+ * keep their own regulatory domain on wiphy->regd so that does
  * not need to be remembered.
  */
 static void restore_regulatory_settings(bool reset_user, bool cached)