Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

bcma: cleanup comments

Remove the second 'info'.
Replacements
'adventages' with 'advantages'
'strenth' with 'strength'
'atleast' with 'at least'
'thr'u'' with 'through'
'capabilty' with 'capability'
'controll' with 'control'
'ourself' with 'ourselves'
'noone' with 'no one'
'cores' to 'core's' and 'core'

Signed-off-by: Tom Rix <trix@redhat.com>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220213213121.2806376-1-trix@redhat.com

authored by

Tom Rix and committed by
Kalle Valo
032931fd f3d825a3

+11 -11
+1 -1
drivers/bcma/driver_chipcommon.c
··· 303 303 EXPORT_SYMBOL_GPL(bcma_chipco_gpio_outen); 304 304 305 305 /* 306 - * If the bit is set to 0, chipcommon controlls this GPIO, 306 + * If the bit is set to 0, chipcommon controls this GPIO, 307 307 * if the bit is set to 1, it is used by some part of the chip and not our code. 308 308 */ 309 309 u32 bcma_chipco_gpio_control(struct bcma_drv_cc *cc, u32 mask, u32 value)
+3 -3
drivers/bcma/driver_chipcommon_pmu.c
··· 206 206 usleep_range(2000, 2500); 207 207 } 208 208 209 - /* Disable to allow reading SPROM. Don't know the adventages of enabling it. */ 209 + /* Disable to allow reading SPROM. Don't know the advantages of enabling it. */ 210 210 void bcma_chipco_bcm4331_ext_pa_lines_ctl(struct bcma_drv_cc *cc, bool enable) 211 211 { 212 212 struct bcma_bus *bus = cc->core->bus; ··· 234 234 switch (bus->chipinfo.id) { 235 235 case BCMA_CHIP_ID_BCM4313: 236 236 /* 237 - * enable 12 mA drive strenth for 4313 and set chipControl 237 + * enable 12 mA drive strength for 4313 and set chipControl 238 238 * register bit 1 239 239 */ 240 240 bcma_chipco_chipctl_maskset(cc, 0, ··· 249 249 case BCMA_CHIP_ID_BCM43224: 250 250 case BCMA_CHIP_ID_BCM43421: 251 251 /* 252 - * enable 12 mA drive strenth for 43224 and set chipControl 252 + * enable 12 mA drive strength for 43224 and set chipControl 253 253 * register bit 15 254 254 */ 255 255 if (bus->chipinfo.rev == 0) {
+3 -3
drivers/bcma/driver_pci_host.c
··· 61 61 { 62 62 u32 addr = 0; 63 63 64 - /* Issue config commands only when the data link is up (atleast 64 + /* Issue config commands only when the data link is up (at least 65 65 * one external pcie device is present). 66 66 */ 67 67 if (dev >= 2 || !(bcma_pcie_read(pc, BCMA_CORE_PCI_DLLP_LSREG) ··· 295 295 if (cap_ptr == 0x00) 296 296 return cap_ptr; 297 297 298 - /* loop thr'u the capability list and see if the requested capabilty 298 + /* loop through the capability list and see if the requested capability 299 299 * exists */ 300 300 bcma_extpci_read_config(pc, dev, func, cap_ptr, &cap_id, sizeof(u8)); 301 301 while (cap_id != req_cap_id) { ··· 317 317 318 318 *buflen = 0; 319 319 320 - /* copy the cpability data excluding cap ID and next ptr */ 320 + /* copy the capability data excluding cap ID and next ptr */ 321 321 cap_data = cap_ptr + 2; 322 322 if ((bufsize + cap_data) > PCI_CONFIG_SPACE_SIZE) 323 323 bufsize = PCI_CONFIG_SPACE_SIZE - cap_data;
+2 -2
drivers/bcma/main.c
··· 293 293 int err; 294 294 295 295 list_for_each_entry(core, &bus->cores, list) { 296 - /* We support that cores ourself */ 296 + /* We support that core ourselves */ 297 297 switch (core->id.id) { 298 298 case BCMA_CORE_4706_CHIPCOMMON: 299 299 case BCMA_CORE_CHIPCOMMON: ··· 369 369 if (bus->hosttype == BCMA_HOSTTYPE_SOC) 370 370 platform_device_unregister(bus->drv_cc.watchdog); 371 371 372 - /* Now noone uses internally-handled cores, we can free them */ 372 + /* Now no one uses internally-handled cores, we can free them */ 373 373 list_for_each_entry_safe(core, tmp, &bus->cores, list) { 374 374 list_del(&core->list); 375 375 put_device(&core->dev);
+2 -2
drivers/bcma/sprom.c
··· 28 28 * callback handler which fills the SPROM data structure. The fallback is 29 29 * used for PCI based BCMA devices, where no valid SPROM can be found 30 30 * in the shadow registers and to provide the SPROM for SoCs where BCMA is 31 - * to controll the system bus. 31 + * to control the system bus. 32 32 * 33 33 * This function is useful for weird architectures that have a half-assed 34 34 * BCMA device hardwired to their PCI bus. ··· 281 281 SPEX(alpha2[0], SSB_SPROM8_CCODE, 0xff00, 8); 282 282 SPEX(alpha2[1], SSB_SPROM8_CCODE, 0x00ff, 0); 283 283 284 - /* Extract cores power info info */ 284 + /* Extract core's power info */ 285 285 for (i = 0; i < ARRAY_SIZE(pwr_info_offset); i++) { 286 286 o = pwr_info_offset[i]; 287 287 SPEX(core_pwr_info[i].itssi_2g, o + SSB_SROM8_2G_MAXP_ITSSI,