Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp609259rdb; Sat, 30 Sep 2023 19:40:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEtvQ3vg9ZoGIu0VlFSmOsU5M8lo+8dadMEbrbgxtabK0Bz0zKFw2CD+fDMyGH2eup1W0Pu X-Received: by 2002:a05:620a:404c:b0:775:a3fc:a9f1 with SMTP id i12-20020a05620a404c00b00775a3fca9f1mr2394456qko.21.1696128035492; Sat, 30 Sep 2023 19:40:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696128035; cv=none; d=google.com; s=arc-20160816; b=KU1uWDzbGI2UEF3/fSwbOTR0NXoSIYD4DvTUuVGNQR1KgLCW3khfts4shkFZcoQP4F onOJQslcEI5seTBiof6rfkWJUkCLv7+zXtl7yXYV7BbxHaP6pnwUlNqSRyHUENitaj6U hVFCwwO12tAYKYF56G6O2oZGzUgxLXDHfaXeMSd5/kmmLbrS4ZyQDLjbJ2xvZiSzRbbC NQ/ustUdhOqjuzYnB+cZza8m7uDqTqgqU3mSQtcbherwE88eS9ndWWPFdc9vwquzF0in dQgQTkdP1GOoVNSzraYxpJLzVCZNpqu8WCOHHyJz2Yw68d5L33c5n6et1ATJKGLqqEuS wcVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=tPi8WfaGSvyay81i5sdtoCPjIuYIXZfQhioLReXDS0s=; fh=4U66+QCEiqEQT+E5rucy7tlEMHKeLW0ZMQIUqzbYTfc=; b=dvoA4NMkXQtsdGgRqZ48Mo3c0E8I2SqH2ABSTLx+hdQDm/rY/BjqdFUuFGSXAUeA+A zXwHhoWgrZAOMY/LtskMvPdlcLqBvdIp+nqHF+DFb8AMMZfrQmxKR4QhQZ/NI/L6MXUZ DCwswWUjQ05/CTqJiAV9mY53oODAXs+cwwsvJ2OU0gYqqTLsMoOc6TMdxhgSoKPUJvQo 3a9SMye7ps+HYTihkf/0oEL3dNOePoFo8dEum3YB9zFZLGcCE0Gz0l+moCmtnG8i0IN4 W+egS5sE236qwHPMPx5MO+h+QPA+fmueMxGvIZ6QCEV1yq24ciz55ApwG+4wc8k2t979 daPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=PCrzBNG7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id l191-20020a6391c8000000b0057047d68821si23675967pge.565.2023.09.30.19.40.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Sep 2023 19:40:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=PCrzBNG7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id A5FFD8158395; Sat, 30 Sep 2023 13:28:56 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231530AbjI3U2Y (ORCPT + 99 others); Sat, 30 Sep 2023 16:28:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231351AbjI3U2V (ORCPT ); Sat, 30 Sep 2023 16:28:21 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE667E6; Sat, 30 Sep 2023 13:28:18 -0700 (PDT) Received: from mercury (unknown [185.254.75.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: sre) by madras.collabora.co.uk (Postfix) with ESMTPSA id 5F81466072A4; Sat, 30 Sep 2023 21:28:17 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1696105697; bh=gp02ydvSAYoJwU1pztBoDmdfx1Rdol+wtGtkHuTzNdY=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=PCrzBNG77u7f359Eg3YFqM4uAUhZcNZr9t/zYn70ofsJeyT0WpM0KkmSvrRnBdaGH u9F085IWI1qEfen7bo4B6JFqD0HshUYAkntxFERxjbqrfLPa8NvnhIUjILNnh4Db85 wkc2Yoe4ZsF2BnyIrK+ez9KMri+gbKxw9+t8Gjy7Tlq/Qp6x8dbqJ7HAecboV/TqcO ESTaUtZnfVXcghG9VfyDw07xexe6p70oBGdEgS3yNYow4UbKcO5nrwl87lx/S4hzIe 0ALvvP1K47N+PtoH4YudrwkzrSmVudy5PX8mniz4cLO3zBdrI3aHJH08HbunrF2GIZ 7ep1AhT2HroYA== Received: by mercury (Postfix, from userid 1000) id 29DD910605D9; Sat, 30 Sep 2023 22:28:15 +0200 (CEST) From: Sebastian Reichel To: Sebastian Reichel , =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230929-power_supply-string_lower-v1-1-3141a2634d53@weissschuh.net> References: <20230929-power_supply-string_lower-v1-1-3141a2634d53@weissschuh.net> Subject: Re: [PATCH] power: supply: core: remove opencoded string_lower() Message-Id: <169610569516.214910.6033808058669103520.b4-ty@collabora.com> Date: Sat, 30 Sep 2023 22:28:15 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailer: b4 0.12.3 X-Spam-Status: No, score=1.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,TVD_SUBJ_WIPE_DEBT autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Sat, 30 Sep 2023 13:28:56 -0700 (PDT) X-Spam-Level: * On Fri, 29 Sep 2023 19:39:00 +0200, Thomas Weißschuh wrote: > string_lower from string_helpers.h can be used to modify the string > in-place. > Use it to get rid of the custom str_to_lower(). > > Applied, thanks! [1/1] power: supply: core: remove opencoded string_lower() commit: 0ce51459c8353b2b18ad3a430dbebf29af8b579c Best regards, -- Sebastian Reichel