Re: [PATCH 1/2] power: supply: tps65217: remove debug messages for function calls

From: Sebastian Reichel
Date: Wed Apr 12 2017 - 11:01:29 EST


Hi,

On Mon, Apr 03, 2017 at 06:44:45PM +0200, Enric Balletbo i Serra wrote:
> Equivalent information can be nowadays obtained using function tracer.
>
> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@xxxxxxxxxxxxx>
> ---
> drivers/power/supply/tps65217_charger.c | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/drivers/power/supply/tps65217_charger.c b/drivers/power/supply/tps65217_charger.c
> index 29b61e8..1f52340 100644
> --- a/drivers/power/supply/tps65217_charger.c
> +++ b/drivers/power/supply/tps65217_charger.c
> @@ -58,8 +58,6 @@ static int tps65217_config_charger(struct tps65217_charger *charger)
> {
> int ret;
>
> - dev_dbg(charger->dev, "%s\n", __func__);
> -
> /*
> * tps65217 rev. G, p. 31 (see p. 32 for NTC schematic)
> *
> @@ -205,8 +203,6 @@ static int tps65217_charger_probe(struct platform_device *pdev)
> int ret;
> int i;
>
> - dev_dbg(&pdev->dev, "%s\n", __func__);
> -
> charger = devm_kzalloc(&pdev->dev, sizeof(*charger), GFP_KERNEL);
> if (!charger)
> return -ENOMEM;

Thanks, queued.

-- Sebastian

Attachment: signature.asc
Description: PGP signature