Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1622223 > unrolled thread

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

Started bySebastian Reichel <sre@kernel.org>
First post2017-04-12 17:10 +0200
Last post2017-04-12 17:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 1/2] power: supply: tps65217: remove debug messages for  function calls Sebastian Reichel <sre@kernel.org> - 2017-04-12 17:10 +0200

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

FromSebastian Reichel <sre@kernel.org>
Date2017-04-12 17:10 +0200
SubjectRe: [PATCH 1/2] power: supply: tps65217: remove debug messages for function calls
Message-ID<tvs4a-61c-23@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

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@collabora.com>
> ---
>  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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web