Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2524405yba; Mon, 15 Apr 2019 13:33:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqwTZhZkXF+Aa3fnLPsH5HWhDcxrYo8q+jdhSL8nnKmgk/HepafdhMMlIh4HTVjdWpYFJz7o X-Received: by 2002:a63:e304:: with SMTP id f4mr68085442pgh.374.1555360398500; Mon, 15 Apr 2019 13:33:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555360398; cv=none; d=google.com; s=arc-20160816; b=rpftknPD8ekS3Y22MDLtCQNbko2mLk8yl5UoLsqF+Cx2vz3KsmvQDsNelDmvvPKfeV qSmVtX30TsMT1zZFzp+wm9wCE0WWBbsDYTW7rT7JK8Gav6kg9hUTc/Ckd4X+SrDTLq0k LF2HR4D84dJTNeeHY7H/DGioOd4FMDc8jBncdZO/Ajt/Bm0XoJCRNU9zEbf6kRhrywNR vRIbP9miTQ0LAlCdR+bQJF/8ysaOUFfnG+s57Gqu5sChg0CEGvMqUthUViWxyaayvNE7 cHpeiNiwpF4q69aA4kddcHCD4KOJw3W3wlVToEHnprWrx3B6c06XskBpNw8CtUywK9QL LROg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=tukA7p+Xws2tsU9q0k8LoAfe4JHCdVqkztIBcueFRmc=; b=wlo3sqm2pvHu+NJVpS7+A1fWs7D2g+OCcp5+D9K8sc29rfTHG/TqsDnHVTnGFE+7pj 12wAOZ5DNm8yQ1ojk0Jy4zbVzwS4i9UzPdJbWB3Ojkq0DHnLhAioefSt4ejTfr8rftf2 OxEAE+RU2pv3U1nlzD0mfOlF3/CybRAMZZG/x0Hx16/d7Y2Ji/+SDR1STG/KiedYECc3 QEordTIHhad/BKpAKpto++cXhl4u90et4gOKSOXj3DeFQ/nhoJTn/k0mDcW66OlVNYCK ImqgaZbUaKEgdmrOfAHqFqOwEJDxInKfjVLcggFZ//CXlkFEyW7vU0iXGdanMZQ6zy9L dQYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Mpt/N8PV"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m2si44429085pgp.463.2019.04.15.13.33.02; Mon, 15 Apr 2019 13:33:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Mpt/N8PV"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1728556AbfDOToH (ORCPT + 99 others); Mon, 15 Apr 2019 15:44:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:46834 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728251AbfDOToH (ORCPT ); Mon, 15 Apr 2019 15:44:07 -0400 Received: from earth.universe (unknown [185.62.205.103]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D2C6F20825; Mon, 15 Apr 2019 19:44:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555357446; bh=6lW6ykUoQp/n4gUTrMVw2ocv9lDh94UgruEDQewhLno=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Mpt/N8PVP01/vfAXWVMa9xOMwxpBhUiEaz90s1oram7xQ1YquavinnEVQSBKPtlo5 vdylQpSCKj0pJxD1PZJGrs2XTUoricfN5NCLYbTK0/Adj/xC8U9BEMotJM2l5rFcCL 3+md8z19BcN1/oDEqr0tzjOZcz2SCgGvnhoVB70M= Received: by earth.universe (Postfix, from userid 1000) id 72DF53C08D5; Mon, 15 Apr 2019 21:44:03 +0200 (CEST) Date: Mon, 15 Apr 2019 21:44:03 +0200 From: Sebastian Reichel To: Enric Balletbo i Serra Cc: linux-kernel@vger.kernel.org, kernel@collabora.com, linux-pm@vger.kernel.org Subject: Re: [PATCH] power: supply: core: fix typo in function to get current charge control limit Message-ID: <20190415194403.hj23wvbw7brb7qkv@earth.universe> References: <20190415142918.4383-1-enric.balletbo@collabora.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="fg2cu7rwq4kf52ih" Content-Disposition: inline In-Reply-To: <20190415142918.4383-1-enric.balletbo@collabora.com> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --fg2cu7rwq4kf52ih Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Mon, Apr 15, 2019 at 04:29:18PM +0200, Enric Balletbo i Serra wrote: > There is a spelling mistake in ps_get_cur_charge_cntl_limit function so > replace 'chrage' for 'charge'. >=20 > Signed-off-by: Enric Balletbo i Serra > --- Thanks, queued. -- Sebastian >=20 > drivers/power/supply/power_supply_core.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/drivers/power/supply/power_supply_core.c b/drivers/power/sup= ply/power_supply_core.c > index c917a8b43b2b..ef2aecfe2cd2 100644 > --- a/drivers/power/supply/power_supply_core.c > +++ b/drivers/power/supply/power_supply_core.c > @@ -899,7 +899,7 @@ static int ps_get_max_charge_cntl_limit(struct therma= l_cooling_device *tcd, > return ret; > } > =20 > -static int ps_get_cur_chrage_cntl_limit(struct thermal_cooling_device *t= cd, > +static int ps_get_cur_charge_cntl_limit(struct thermal_cooling_device *t= cd, > unsigned long *state) > { > struct power_supply *psy; > @@ -934,7 +934,7 @@ static int ps_set_cur_charge_cntl_limit(struct therma= l_cooling_device *tcd, > =20 > static const struct thermal_cooling_device_ops psy_tcd_ops =3D { > .get_max_state =3D ps_get_max_charge_cntl_limit, > - .get_cur_state =3D ps_get_cur_chrage_cntl_limit, > + .get_cur_state =3D ps_get_cur_charge_cntl_limit, > .set_cur_state =3D ps_set_cur_charge_cntl_limit, > }; > =20 > --=20 > 2.20.1 >=20 --fg2cu7rwq4kf52ih Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAly03wMACgkQ2O7X88g7 +poyMg/7BnuoQ9N1OqyZiZUWLhmzxNOLKnkFon4ANsgpqbmPCR2MiS5eCwcrAbjY 9MMqxRsSFODTtppsKPpBGJVltJzOk0jpViRBtMo5PwKSap3hasJ9GM19cdIJEPlb SW/Blm/WSL2vhEItFtC02iST++9RThJmxAVIkQHwUsPKZ46kw/sFqRy8kRkfQue2 pbspFiMENO2rvdwt/aQjKsx4nNkempTLaZC+Rb2OZgRbyxVpo5AxMQeVPkEBVRqR z2ntaM/pf783Ec0mXXTvxGV1Q3LZpPJZvy1ETzU47CvF+GdcH82hZhHGjzaJVH5W RcShIrIm7hXPEcHsuOY3sox0ImcoY6+XiHCL8V97TngkB51bw+qac0lojVFtHyAq +QSl+whSr8MUGGW+D3w0S9gyplkJWWOYZ7vY6DJBOi5by8GZLMw0IYOhgEYpFoiR /Ls3gyV4/vZ6NgSW3EjRmD8H1amGJdWJV9WM/TgFR/1iz+CH8phVouwR1Kvk/0mK QWwvRiZLdh0+Ft1Sv91YDU05MGrg+x2BHiMNtzB6lpvilEk84wLy+3pSNzTga4jD l0MuRVAAk15ZCUzqpEdvRDynyBC5dPl5OHcH8pp8D7uIzrzxUoqH6aKIUJj0FDwM JgTD/hg4yCh8n8meuDI1Wf70Y22uO/rhc/CmgFeTegjIT0n4Cyc= =Zq+n -----END PGP SIGNATURE----- --fg2cu7rwq4kf52ih--