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


Groups > linux.kernel > #1195868 > unrolled thread

Re: [PATCH 16/20] power/reset: at91-reset: remove useless at91_reset_platform_probe()

Started byThomas Petazzoni <thomas.petazzoni@free-electrons.com>
First post2015-07-30 11:50 +0200
Last post2015-07-30 11:50 +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 16/20] power/reset: at91-reset: remove useless  at91_reset_platform_probe() Thomas Petazzoni <thomas.petazzoni@free-electrons.com> - 2015-07-30 11:50 +0200

#1195868 — Re: [PATCH 16/20] power/reset: at91-reset: remove useless at91_reset_platform_probe()

FromThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Date2015-07-30 11:50 +0200
SubjectRe: [PATCH 16/20] power/reset: at91-reset: remove useless at91_reset_platform_probe()
Message-ID<pRSDo-2XA-7@gated-at.bofh.it>
Dear Alexandre Belloni,

On Thu, 30 Jul 2015 02:22:02 +0200, Alexandre Belloni wrote:

>  static int at91_reset_probe(struct platform_device *pdev)
>  {
>  	int ret;
>  
> -	if (pdev->dev.of_node)
> -		ret = at91_reset_of_probe(pdev);
> -	else
> -		ret = at91_reset_platform_probe(pdev);
>  
> +	ret = at91_reset_of_probe(pdev);

Maybe it no longer makes sense to have separate at91_reset_probe() and
at91_reset_of_probe() functions then.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web