Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2340785lqb; Mon, 27 May 2024 17:07:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWsLRF0pgI2X5zWJihKW5Rwpz3Lkec0oyn4zQdjvFEyyAc9Yh4a2Tnrr0VO+y9I7j1BFwFicVuOEcXEoEc2TQp8iuOzH0zCuppuIHN+VA== X-Google-Smtp-Source: AGHT+IFsQtM5dRP8Kr/6HyPkk35RbOsSW5yZjmhztwvI8MUWj8CZm3S/KQpj5FbnQ+nKv3dSkTFT X-Received: by 2002:a05:6a20:5520:b0:1b1:d7b3:dc57 with SMTP id adf61e73a8af0-1b212d462c2mr9856192637.33.1716854822059; Mon, 27 May 2024 17:07:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716854822; cv=pass; d=google.com; s=arc-20160816; b=xcelbZYiIvE7KPnJ/d3nFD2Us748U/Oi6NQ5i4vfTwHgJe+kLhm+BgAftjUwcYDu66 O12/Zl6kqgbg0tgMbbP3pUKv+R8MBX7+6IIFE51iqMl77zHBJrcUbfGdquxuhDBXX03O bqNxvcz8AkBGchj8JQhLZgdPayhjAtzgwvCArXpg++o6kcsnyLLeaLMVFm0rvDZPak31 J/aRhdUa76BGMxsQddFUaXPpLuvsYawSlALxFC2L9zR2ZLuRQk1aNlJnK6d9UXFro7Qt mHtWRxSzoY6qxCgcHnHepGxqGPIK1C7HatafpIqKW6xKPweLn4GMv3fVCMPhlwmNsH21 ESoA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=kBL1ZEVIaCMy+JU9st0dS0LqC8kWc1aSFjAYCQfH6VE=; fh=AhQ2EtldIm/CNC2bStAv7wzH6SsZgwDyMxOENFdP+Z0=; b=N1SaCAhtHckDIUbau74fajIVowjIUh3TU9RnzAcLEjEIUpNnfGEVDgfMrM0NSElnNg +f5hhmF5QGGte0sw+t12fFj6QIvIry2HKy2dI/mm12dwt9HOSorBMvkiSTwGM7q3rjpc bK2SVpF+FnjvFq+ccEtFgZZaY3XZqwitj9aXUbpjPymEx0RYeGxXqqpsKDAC138Fw5K5 GQnXRagtjCSk6fWloT5DVhP8zD5KVg0jXv+kW8GdrFuE/YMjKq3gvvhjRyfZD53yXu8Y s9eRKNPMbjJ9LS57hPnbHhipDZ145XUm/uEuog9PpVI70Lx30UFUIF4LRKVaxfOsM6Do FXig==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=TLbEtduH; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-kernel+bounces-191529-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191529-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f8fcfd95aasi6728726b3a.165.2024.05.27.17.07.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 17:07:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-191529-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=TLbEtduH; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-kernel+bounces-191529-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191529-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E43E1282B07 for ; Tue, 28 May 2024 00:07:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8BB7B139D; Tue, 28 May 2024 00:06:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="TLbEtduH" Received: from mx.treblig.org (mx.treblig.org [46.235.229.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 00E63524C; Tue, 28 May 2024 00:06:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.229.95 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716854813; cv=none; b=f3LtqWcJ5Zax8MT7EIutPAgKlEnV0Io2aGeZ/M75Y0Es+QtKVWX3BVNKcDdQYwzPV8v0B8FwyPGFnjQ/xZTAH4VzPRi7toL8LOwiNfpnF6uyT3CCwfjRqSiOvHy69J/9r/q2ySWBiL0yEeMTHbF/xE1s2WWr8JN7QIEO4x+icsQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716854813; c=relaxed/simple; bh=k4G+jAKGNKDxOHGUvNAzqtpnPGgj4GhdstDH0kwqqsQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=TLoAc+EXyfyjmwjmVK1VLhXm+Br54QVZgpwT4N/iwQ5LVg+Dg7utmcI3dWCxf9mj2YtovyuA16EKeILAA3QAHcNj+ouwfyiPXALNUQ6x5P1TODRFequXMYneD8R8NaLF0qrhY10hZ44aPH6Zp14wp3mKUa09k3dydmXmGrPmwzY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org; spf=pass smtp.mailfrom=treblig.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b=TLbEtduH; arc=none smtp.client-ip=46.235.229.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=treblig.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=kBL1ZEVIaCMy+JU9st0dS0LqC8kWc1aSFjAYCQfH6VE=; b=TLbEtduH3aGJT2ZN Q5N8sg6vls9zdJ73A1TY6a6mxWyw3LCPfxXPUmpqTujDPLbeRp23ulQnoan62wLTkJaQAUoqOp6HI iB+gKsWVhV2LuqSjPFl5ffIpz9F0fhLNhteZZJVUmbWLuDaosOURBxtnHnCasla2dcT8GH5A9897T gH4hgSEiZXmptSsJakIFJDMrao5QLUgZ7DkwX6Z1B+UQk3IDuhRB+8b6uN94MeLXYb1Wv8tCMtzJO y53Tiaon9g0Dn1R04ceVrQobEpU2o+D0I/l5D+kBYYK8rEeRcnsKPzKiM15PDqRkMVKAsXmUXvDFF EQqvg9jV3jnJxQWcxA==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1sBkMa-002pjT-2N; Tue, 28 May 2024 00:06:49 +0000 From: linux@treblig.org To: linus.walleij@linaro.org, mazziesaccount@gmail.com, sre@kernel.org Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, "Dr. David Alan Gilbert" Subject: [PATCH 1/2] power: supply: bd99954: remove unused struct 'battery_data' Date: Tue, 28 May 2024 01:06:33 +0100 Message-ID: <20240528000634.196707-2-linux@treblig.org> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240528000634.196707-1-linux@treblig.org> References: <20240528000634.196707-1-linux@treblig.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Dr. David Alan Gilbert" 'battery_data' is unused since the original commit 0902f8366491 ("power: supply: Support ROHM bd99954 charger"). Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/power/supply/bd99954-charger.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/power/supply/bd99954-charger.c b/drivers/power/supply/bd99954-charger.c index 1ed1d9f99fb3..54bf88262510 100644 --- a/drivers/power/supply/bd99954-charger.c +++ b/drivers/power/supply/bd99954-charger.c @@ -70,13 +70,6 @@ #include "bd99954-charger.h" -struct battery_data { - u16 precharge_current; /* Trickle-charge Current */ - u16 fc_reg_voltage; /* Fast Charging Regulation Voltage */ - u16 voltage_min; - u16 voltage_max; -}; - /* Initial field values, converted to initial register values */ struct bd9995x_init_data { u16 vsysreg_set; /* VSYS Regulation Setting */ -- 2.45.1