From nobody Sun Jun 28 05:31:09 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2D993C433EF for ; Sun, 13 Feb 2022 21:31:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238414AbiBMVbs (ORCPT ); Sun, 13 Feb 2022 16:31:48 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:50772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238400AbiBMVbn (ORCPT ); Sun, 13 Feb 2022 16:31:43 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 16C3753B56 for ; Sun, 13 Feb 2022 13:31:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1644787896; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=ISiWi7uw9QaoI83fopDw/+FnuaHWer+3fN5HCw2quzg=; b=MW8eR6ZXLMY0rEky5er8bjT0JIGar0v1gQduf32Q+XNb27/dNBZ44AjoS2/Kii/MlvfTmW eukVOMeV7Q5mrwlOez164PQ8Fh65il5GxD3B4P/z+UDz4zoYMA17RFyqMSu6rE512E+HqZ ozLJlDkq7K6/5UsA85AlNQVkguCHaII= Received: from mail-ot1-f70.google.com (mail-ot1-f70.google.com [209.85.210.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-649-KnmMqZp7OrmGFmbLgm9azA-1; Sun, 13 Feb 2022 16:31:34 -0500 X-MC-Unique: KnmMqZp7OrmGFmbLgm9azA-1 Received: by mail-ot1-f70.google.com with SMTP id q4-20020a056830018400b0059eb82177ceso9234270ota.1 for ; Sun, 13 Feb 2022 13:31:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ISiWi7uw9QaoI83fopDw/+FnuaHWer+3fN5HCw2quzg=; b=aZK7emzITAplrxoQyiwBUPWZEw3DaUeKxh/rBJRLdoh6/4ybVk5cS+oKfy2fKhjWet OupgZgh5FEGPgyd04XTHB8Iy8csw5EmtSbZHqXmPPz6Vo6Z7lSy5j9raMNR7gOBuzzKh gr1W1tcuQPRftQLv02QGO94wPCui1Q0x9Hzuv0UNuxw6sadUcp//d00+o7sd87u8y329 XaE1JjGzK9AffSVXcutD7JjacRTEuXHCgzXLnVfMHl2KYoEMaCpX9ergGdYvh1uUQnvI C6Tr/detMkT/XXD5frKqsXs3l/Q5wnAkP3+Uz+Hr1f6dYn3IYMdEnYrrpuKn6buzudVx 0d4A== X-Gm-Message-State: AOAM530CMwyhkX+ZaeXylKnYJh8gj874UjSyzvZuw7Wh3y+Cdl817oQ0 NgF5Jeqr9aqyCch1ZJtHGjkSip/ZVXK7YLLUhmzAVmrBk8ZGgOw7jqj/V+mHD69vqhT4QOZVioh oM78187q7OoIjv5wmkxfE/Tvg X-Received: by 2002:a05:6870:6187:: with SMTP id a7mr2996387oah.301.1644787892293; Sun, 13 Feb 2022 13:31:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJxBDBn/d8+RXj4ujrdySBt45orvQd/A6U7KmyqT7QKsU7gPKeEE3J13eHOR6ybDLtEJSykNEA== X-Received: by 2002:a05:6870:6187:: with SMTP id a7mr2996383oah.301.1644787892055; Sun, 13 Feb 2022 13:31:32 -0800 (PST) Received: from localhost.localdomain.com (024-205-208-113.res.spectrum.com. [24.205.208.113]) by smtp.gmail.com with ESMTPSA id l40sm3632140otv.12.2022.02.13.13.31.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Feb 2022 13:31:31 -0800 (PST) From: trix@redhat.com To: zajec5@gmail.com Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, Tom Rix Subject: [PATCH v2] bcma: cleanup comments Date: Sun, 13 Feb 2022 13:31:21 -0800 Message-Id: <20220213213121.2806376-1-trix@redhat.com> X-Mailer: git-send-email 2.26.3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Tom Rix 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 Reviewed-by: Randy Dunlap --- v2: change per Randy's suggestions drivers/bcma/driver_chipcommon.c | 2 +- drivers/bcma/driver_chipcommon_pmu.c | 6 +++--- drivers/bcma/driver_pci_host.c | 6 +++--- drivers/bcma/main.c | 4 ++-- drivers/bcma/sprom.c | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/bcma/driver_chipcommon.c b/drivers/bcma/driver_chipcom= mon.c index 62f5bfa5065d..fd91a39f02c7 100644 --- a/drivers/bcma/driver_chipcommon.c +++ b/drivers/bcma/driver_chipcommon.c @@ -303,7 +303,7 @@ u32 bcma_chipco_gpio_outen(struct bcma_drv_cc *cc, u32 = mask, u32 value) EXPORT_SYMBOL_GPL(bcma_chipco_gpio_outen); =20 /* - * If the bit is set to 0, chipcommon controlls this GPIO, + * If the bit is set to 0, chipcommon controls this GPIO, * if the bit is set to 1, it is used by some part of the chip and not our= code. */ u32 bcma_chipco_gpio_control(struct bcma_drv_cc *cc, u32 mask, u32 value) diff --git a/drivers/bcma/driver_chipcommon_pmu.c b/drivers/bcma/driver_chi= pcommon_pmu.c index 3056f81efca4..263ef6fa1d0f 100644 --- a/drivers/bcma/driver_chipcommon_pmu.c +++ b/drivers/bcma/driver_chipcommon_pmu.c @@ -206,7 +206,7 @@ static void bcma_pmu_resources_init(struct bcma_drv_cc = *cc) usleep_range(2000, 2500); } =20 -/* Disable to allow reading SPROM. Don't know the adventages of enabling i= t. */ +/* Disable to allow reading SPROM. Don't know the advantages of enabling i= t. */ void bcma_chipco_bcm4331_ext_pa_lines_ctl(struct bcma_drv_cc *cc, bool ena= ble) { struct bcma_bus *bus =3D cc->core->bus; @@ -234,7 +234,7 @@ static void bcma_pmu_workarounds(struct bcma_drv_cc *cc) switch (bus->chipinfo.id) { case BCMA_CHIP_ID_BCM4313: /* - * enable 12 mA drive strenth for 4313 and set chipControl + * enable 12 mA drive strength for 4313 and set chipControl * register bit 1 */ bcma_chipco_chipctl_maskset(cc, 0, @@ -249,7 +249,7 @@ static void bcma_pmu_workarounds(struct bcma_drv_cc *cc) case BCMA_CHIP_ID_BCM43224: case BCMA_CHIP_ID_BCM43421: /* - * enable 12 mA drive strenth for 43224 and set chipControl + * enable 12 mA drive strength for 43224 and set chipControl * register bit 15 */ if (bus->chipinfo.rev =3D=3D 0) { diff --git a/drivers/bcma/driver_pci_host.c b/drivers/bcma/driver_pci_host.c index 6f8fc5f587fe..aa0581cda718 100644 --- a/drivers/bcma/driver_pci_host.c +++ b/drivers/bcma/driver_pci_host.c @@ -61,7 +61,7 @@ static u32 bcma_get_cfgspace_addr(struct bcma_drv_pci *pc= , unsigned int dev, { u32 addr =3D 0; =20 - /* Issue config commands only when the data link is up (atleast + /* Issue config commands only when the data link is up (at least * one external pcie device is present). */ if (dev >=3D 2 || !(bcma_pcie_read(pc, BCMA_CORE_PCI_DLLP_LSREG) @@ -295,7 +295,7 @@ static u8 bcma_find_pci_capability(struct bcma_drv_pci = *pc, unsigned int dev, if (cap_ptr =3D=3D 0x00) return cap_ptr; =20 - /* loop thr'u the capability list and see if the requested capabilty + /* loop through the capability list and see if the requested capability * exists */ bcma_extpci_read_config(pc, dev, func, cap_ptr, &cap_id, sizeof(u8)); while (cap_id !=3D req_cap_id) { @@ -317,7 +317,7 @@ static u8 bcma_find_pci_capability(struct bcma_drv_pci = *pc, unsigned int dev, =20 *buflen =3D 0; =20 - /* copy the cpability data excluding cap ID and next ptr */ + /* copy the capability data excluding cap ID and next ptr */ cap_data =3D cap_ptr + 2; if ((bufsize + cap_data) > PCI_CONFIG_SPACE_SIZE) bufsize =3D PCI_CONFIG_SPACE_SIZE - cap_data; diff --git a/drivers/bcma/main.c b/drivers/bcma/main.c index 8e7ca3e4c8c4..44392b624b20 100644 --- a/drivers/bcma/main.c +++ b/drivers/bcma/main.c @@ -293,7 +293,7 @@ static int bcma_register_devices(struct bcma_bus *bus) int err; =20 list_for_each_entry(core, &bus->cores, list) { - /* We support that cores ourself */ + /* We support that core ourselves */ switch (core->id.id) { case BCMA_CORE_4706_CHIPCOMMON: case BCMA_CORE_CHIPCOMMON: @@ -369,7 +369,7 @@ void bcma_unregister_cores(struct bcma_bus *bus) if (bus->hosttype =3D=3D BCMA_HOSTTYPE_SOC) platform_device_unregister(bus->drv_cc.watchdog); =20 - /* Now noone uses internally-handled cores, we can free them */ + /* Now no one uses internally-handled cores, we can free them */ list_for_each_entry_safe(core, tmp, &bus->cores, list) { list_del(&core->list); put_device(&core->dev); diff --git a/drivers/bcma/sprom.c b/drivers/bcma/sprom.c index bd2c923a6586..3da01f173c63 100644 --- a/drivers/bcma/sprom.c +++ b/drivers/bcma/sprom.c @@ -28,7 +28,7 @@ static int(*get_fallback_sprom)(struct bcma_bus *dev, str= uct ssb_sprom *out); * callback handler which fills the SPROM data structure. The fallback is * used for PCI based BCMA devices, where no valid SPROM can be found * in the shadow registers and to provide the SPROM for SoCs where BCMA is - * to controll the system bus. + * to control the system bus. * * This function is useful for weird architectures that have a half-assed * BCMA device hardwired to their PCI bus. @@ -281,7 +281,7 @@ static void bcma_sprom_extract_r8(struct bcma_bus *bus,= const u16 *sprom) SPEX(alpha2[0], SSB_SPROM8_CCODE, 0xff00, 8); SPEX(alpha2[1], SSB_SPROM8_CCODE, 0x00ff, 0); =20 - /* Extract cores power info info */ + /* Extract core's power info */ for (i =3D 0; i < ARRAY_SIZE(pwr_info_offset); i++) { o =3D pwr_info_offset[i]; SPEX(core_pwr_info[i].itssi_2g, o + SSB_SROM8_2G_MAXP_ITSSI, --=20 2.26.3