Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp771695pxp; Wed, 16 Mar 2022 16:48:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJylk2x3uaI6nAcClDRZt6wunIS6+AeUeSVr2OT+YjmwJuomM9cdtOeXehYc7JpWPbOWCA+V X-Received: by 2002:a05:6a00:d91:b0:4f7:a462:7612 with SMTP id bf17-20020a056a000d9100b004f7a4627612mr1667589pfb.15.1647474481309; Wed, 16 Mar 2022 16:48:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647474481; cv=none; d=google.com; s=arc-20160816; b=Wd40tyAB9owoYErJ1dLHfQmY3lC1bpUQlEx7aZUznve6zf6F48CiNMGrasrvR9ZSLN YfBv7n2QlnxluyxCcPigLfa8/a7fAUtFcUvUE0QwbBVbHJT0PmQkrD7LLOiF/jhkxCzu 97f9I4lXcy8uNojGDO/NHSMtm4XmFhOSNXAeDfk35zIq6FZS7zpA8c6eok0kCpgIA9FG qFd8FOxNpVDzkt0FbBNU0/feqbxs9VZ9jMtwsUokR+v4M6Fvccc2ZT/iYMdpzWQSnuH6 NBmyMdoxggbV2RxGsnlkIWHreD0431lpFQvvEpDrJ3oIvBM7uoH4Ub8eTX0H0OLhOipx 8+cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=HQnwHYi05AXfUT9zECcVSdGQyaIvqBXqHVr/BN/2Ka4=; b=OJRvlPruY/6RFU2d6SCfc819lGZg2cTi9WM7+0n7E9Z8dNHYZnYo7MAdmoEI58834E 7nvB1m/XHq9+E3vlkA7X4v+ycQ1uGgSixan1GiXMnhCMQ+zQyQzOTBnfdLpCEMGahfVz mBEOq8A8BRfeZ5lG0qIxXnaEXlKuEqofcg2+OmZ6DqIc82h6+ffGri1ExgDUFvpo+9jK e4NS1Scj84wXtvfImfQb7t7kJJR3t3DaHCwi5Q7KWqB1e3NtPspHUKFfsFva6jUVE/2Y A0jCzSrNBPgdeIxDqASGrOSce6oP7PWJw+HqeSrV7mHefFGgOHDUy0rq8dmw7DPo3Yjc ZC/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=g0NnX8+T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v2-20020a17090a960200b001bf0617ccf4si5724532pjo.140.2022.03.16.16.47.47; Wed, 16 Mar 2022 16:48:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=g0NnX8+T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352354AbiCOWsG (ORCPT + 99 others); Tue, 15 Mar 2022 18:48:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244890AbiCOWsE (ORCPT ); Tue, 15 Mar 2022 18:48:04 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1C9013F1C; Tue, 15 Mar 2022 15:46:51 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 82E64B818FA; Tue, 15 Mar 2022 22:46:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0DFD8C340E8; Tue, 15 Mar 2022 22:46:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647384409; bh=N9lCbpEw1q3lRoy24tF2qlRq74xnf7ooDJWrMeDL1EY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=g0NnX8+TBBskcnwrMyXlYjeOCzaFo6VRENFxN4FfJ0dTLKxA7lZm84tm805j+Df37 NanO9ZYi8lQ0JIPwcsco+QV72L2TRZkis9Ut+dL5tr0GzhUd4qrl4p4fK2UmHZvvoW i4sqEjIeZnrV23YLjRhlW1Fh0ygPLVbnlOltyBBX0OL6Ss4AUsocmhd6LYDNQ0GFH6 fN8AJOTJyc9tPrc3mjxQ5mIvgHekuvrLxJCJtpx7CL8CIm7UPdQF4jwI1NmuzwJ+zz hl2jbd8VX9k6RXAGpGCOMxfLKczz5FBK8cXma3rk449E+tNa+GMHakVsbIi6WET5vm qXRr5nmARyhYQ== Received: by pali.im (Postfix) id 0795E824; Tue, 15 Mar 2022 23:46:45 +0100 (CET) Date: Tue, 15 Mar 2022 23:46:45 +0100 From: Pali =?utf-8?B?Um9ow6Fy?= To: Colin Ian King Cc: Sebastian Reichel , linux-pm@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] power: supply: bq2415x: Fix spelling mistake "vender" -> "vendor" Message-ID: <20220315224645.ytcf7y7awc3q2y6j@pali> References: <20220315223700.2961660-1-colin.i.king@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220315223700.2961660-1-colin.i.king@gmail.com> User-Agent: NeoMutt/20180716 X-Spam-Status: No, score=-8.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday 15 March 2022 22:37:00 Colin Ian King wrote: > There are several spelling mistakes in comments, function names > and literal strings. Fix these. I do not think that there are mistakes. Please look at page 29 of the official bq24150 datasheet: https://www.ti.com/lit/ds/symlink/bq24150.pdf > Signed-off-by: Colin Ian King > --- > drivers/power/supply/bq2415x_charger.c | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/drivers/power/supply/bq2415x_charger.c b/drivers/power/supply/bq2415x_charger.c > index 5724001e66b9..b35700071966 100644 > --- a/drivers/power/supply/bq2415x_charger.c > +++ b/drivers/power/supply/bq2415x_charger.c > @@ -71,7 +71,7 @@ > #define BQ2415X_BIT_OTG_PL 1 > #define BQ2415X_BIT_OTG_EN 0 > > -/* vender register */ > +/* vendor register */ > #define BQ2415X_MASK_VENDER (BIT(5)|BIT(6)|BIT(7)) > #define BQ2415X_SHIFT_VENDER 5 > #define BQ2415X_MASK_PN (BIT(3)|BIT(4)) > @@ -491,8 +491,8 @@ static int bq2415x_detect_revision(struct bq2415x_device *bq) > return -1; > } > > -/* return chip vender code */ > -static int bq2415x_get_vender_code(struct bq2415x_device *bq) > +/* return chip vendor code */ > +static int bq2415x_get_vendor_code(struct bq2415x_device *bq) > { > int ret; > > @@ -1501,9 +1501,9 @@ static int bq2415x_power_supply_init(struct bq2415x_device *bq) > sprintf(revstr, "1.%d", ret); > > bq->model = kasprintf(GFP_KERNEL, > - "chip %s, revision %s, vender code %.3d", > + "chip %s, revision %s, vendor code %.3d", > bq2415x_chip_name[chip], revstr, > - bq2415x_get_vender_code(bq)); > + bq2415x_get_vendor_code(bq)); > if (!bq->model) { > dev_err(bq->dev, "failed to allocate model name\n"); > return -ENOMEM; > -- > 2.35.1 >