[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150730114025.3eed9c1d@free-electrons.com>
Date: Thu, 30 Jul 2015 11:40:25 +0200
From: Thomas Petazzoni <thomas.petazzoni@...e-electrons.com>
To: Alexandre Belloni <alexandre.belloni@...e-electrons.com>
Cc: Nicolas Ferre <nicolas.ferre@...el.com>,
Boris Brezillon <boris.brezillon@...e-electrons.com>,
linux-pm@...r.kernel.org,
Dmitry Eremin-Solenikov <dbaryshkov@...il.com>,
linux-kernel@...r.kernel.org, Sebastian Reichel <sre@...nel.org>,
Maxime Ripard <maxime.ripard@...e-electrons.com>,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 16/20] power/reset: at91-reset: remove useless
at91_reset_platform_probe()
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists