lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d34509fa-09e7-4bb4-8d2a-0561e4b0ef26@gmail.com>
Date: Tue, 28 May 2024 08:36:03 +0300
From: Matti Vaittinen <mazziesaccount@...il.com>
To: linux@...blig.org, linus.walleij@...aro.org, sre@...nel.org
Cc: linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] power: supply: bd99954: remove unused struct
 'battery_data'

On 5/28/24 03:06, linux@...blig.org wrote:
> From: "Dr. David Alan Gilbert" <linux@...blig.org>
> 
> 'battery_data' is unused since the original
> commit 0902f8366491 ("power: supply: Support ROHM bd99954 charger").
> 
> Remove it.
> 
> Signed-off-by: Dr. David Alan Gilbert <linux@...blig.org>

Acked-by: Matti Vaittinen <mazziesaccount@...il.com>

Thanks!

> ---
>   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 */

-- 
Matti Vaittinen
Linux kernel developer at ROHM Semiconductors
Oulu Finland

~~ When things go utterly wrong vim users can always type :help! ~~


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ