From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>,
Boris Brezillon <boris.brezillon@free-electrons.com>,
linux-pm@vger.kernel.org,
Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>,
linux-kernel@vger.kernel.org, Sebastian Reichel <sre@kernel.org>,
Maxime Ripard <maxime.ripard@free-electrons.com>,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 16/20] power/reset: at91-reset: remove useless at91_reset_platform_probe()
Date: Thu, 30 Jul 2015 11:40:25 +0200 [thread overview]
Message-ID: <20150730114025.3eed9c1d@free-electrons.com> (raw)
In-Reply-To: <1438215726-27452-17-git-send-email-alexandre.belloni@free-electrons.com>
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
next prev parent reply other threads:[~2015-07-30 9:40 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-30 0:21 [PATCH 00/20] ARM: at91: Properly handle slow clock Alexandre Belloni
2015-07-30 0:21 ` [PATCH 01/20] Documentation: dt: atmel-at91: add clocks to system timer, rstc and shdwc Alexandre Belloni
2015-07-30 0:21 ` [PATCH 02/20] Documentation: watchdog: at91sam9_wdt: add clocks property Alexandre Belloni
2015-07-30 1:02 ` Guenter Roeck
2015-07-30 0:21 ` [PATCH 03/20] Documentation: dt: rtc: at91rm9200: " Alexandre Belloni
2015-07-30 0:21 ` [PATCH 04/20] ARM: at91/dt: at91rm9200: use slow clock where necessary Alexandre Belloni
2015-07-30 0:21 ` [PATCH 05/20] ARM: at91/dt: at91sam9260: " Alexandre Belloni
2015-07-30 0:21 ` [PATCH 06/20] ARM: at91/dt: at91sam9261: " Alexandre Belloni
2015-07-30 0:21 ` [PATCH 07/20] ARM: at91/dt: at91sam9263: " Alexandre Belloni
2015-07-30 0:21 ` [PATCH 08/20] ARM: at91/dt: at91sam9g45: " Alexandre Belloni
2015-07-30 0:21 ` [PATCH 09/20] ARM: at91/dt: at91sam9n12: " Alexandre Belloni
2015-07-30 0:21 ` [PATCH 10/20] ARM: at91/dt: at91sam9rl: " Alexandre Belloni
2015-07-30 0:21 ` [PATCH 11/20] ARM: at91/dt: at91sam9x5: " Alexandre Belloni
2015-07-30 0:21 ` [PATCH 12/20] ARM: at91/dt: sama5d3: " Alexandre Belloni
2015-07-30 0:21 ` [PATCH 13/20] ARM: at91/dt: sama5d4: " Alexandre Belloni
2015-07-30 0:22 ` [PATCH 14/20] rtc: at91rm9200: get and use slow clock Alexandre Belloni
2015-07-30 0:22 ` [PATCH 15/20] watchdog: at91sam9: " Alexandre Belloni
2015-07-30 1:03 ` Guenter Roeck
2015-07-30 0:22 ` [PATCH 16/20] power/reset: at91-reset: remove useless at91_reset_platform_probe() Alexandre Belloni
2015-07-30 9:40 ` Thomas Petazzoni [this message]
2015-07-30 0:22 ` [PATCH 17/20] power/reset: at91-reset: get and use slow clock Alexandre Belloni
2015-07-30 0:22 ` [PATCH 18/20] power/reset: at91-poweroff: " Alexandre Belloni
2015-07-30 0:22 ` [PATCH 19/20] clocksource: atmel-st: " Alexandre Belloni
2015-07-30 9:41 ` Thomas Petazzoni
2015-08-04 10:31 ` Daniel Lezcano
2015-08-04 11:00 ` Alexandre Belloni
2015-07-30 0:22 ` [PATCH 20/20] clk: at91: Revert "keep slow clk enabled to prevent system hang" Alexandre Belloni
2015-08-11 23:26 ` Michael Turquette
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150730114025.3eed9c1d@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=alexandre.belloni@free-electrons.com \
--cc=boris.brezillon@free-electrons.com \
--cc=dbaryshkov@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=maxime.ripard@free-electrons.com \
--cc=nicolas.ferre@atmel.com \
--cc=sre@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome