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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 18 May 2021 14:00:28 +0200
From:   Christoph Fritz <chf.fritz@...glemail.com>
To:     Axel Lin <axel.lin@...ics.com>, Mark Brown <broonie@...nel.org>
Cc:     Liam Girdwood <lgirdwood@...il.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 2/2] regulator: fan53880: Convert to use .probe_new

On Mon, 2021-05-17 at 18:53 +0800, Axel Lin wrote:
> Use the new .probe_new for fan53880.
> 
> Signed-off-by: Axel Lin <axel.lin@...ics.com>

Acked-by: Christoph Fritz <chf.fritz@...glemail.com>

> ---
> v2: no change
>  drivers/regulator/fan53880.c | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/regulator/fan53880.c b/drivers/regulator/fan53880.c
> index 1684faf82ed2..f3268b4d5066 100644
> --- a/drivers/regulator/fan53880.c
> +++ b/drivers/regulator/fan53880.c
> @@ -114,8 +114,7 @@ static const struct regmap_config fan53880_regmap = {
>  	.max_register = FAN53880_ENABLE_BOOST,
>  };
>  
> -static int fan53880_i2c_probe(struct i2c_client *i2c,
> -			     const struct i2c_device_id *id)
> +static int fan53880_i2c_probe(struct i2c_client *i2c)
>  {
>  	struct regulator_config config = { };
>  	struct regulator_dev *rdev;
> @@ -177,7 +176,7 @@ static struct i2c_driver fan53880_regulator_driver =
> {
>  		.name = "fan53880",
>  		.of_match_table	= of_match_ptr(fan53880_dt_ids),
>  	},
> -	.probe = fan53880_i2c_probe,
> +	.probe_new = fan53880_i2c_probe,
>  	.id_table = fan53880_i2c_id,
>  };
>  module_i2c_driver(fan53880_regulator_driver);


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ