linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Magnus Damm <magnus.damm@gmail.com>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH 1/6] ARM: shmobile: r8a73a4: add a DMAC platform device and clock for it
Date: Fri, 05 Jul 2013 01:21:16 +0000	[thread overview]
Message-ID: <CANqRtoSN1vq0Bn5ODG9n3KKDAFBd3XqOm5+oSsKR14cvd3qhOw@mail.gmail.com> (raw)
In-Reply-To: <1369573557-11071-2-git-send-email-horms+renesas@verge.net.au>

On Fri, Jul 5, 2013 at 5:38 AM, Guennadi Liakhovetski
<g.liakhovetski@gmx.de> wrote:
> Add a DMAC platform device and clock definitions for it on r8a73a4.
>
> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
> ---
>  arch/arm/mach-shmobile/clock-r8a73a4.c        |    4 +-
>  arch/arm/mach-shmobile/include/mach/r8a73a4.h |   15 +++
>  arch/arm/mach-shmobile/setup-r8a73a4.c        |  117 +++++++++++++++++++++++++
>  3 files changed, 135 insertions(+), 1 deletions(-)
>

> @@ -200,6 +314,9 @@ void __init r8a73a4_add_standard_devices(void)
>         r8a73a4_register_irqc(1);
>         r8a73a4_register_thermal();
>         r8a7790_register_cmt(10);
> +       platform_device_register_resndata(&platform_bus, "sh-dma-engine", 0,
> +                               dma_resources, ARRAY_SIZE(dma_resources),
> +                               &dma_platform_data, sizeof(dma_platform_data));
>  }

This goes without saying, but please follow the same style as previous
commits for this file. So, in detail, instead of adding the
platform_device_register_resndata() directly then add a macro that
makes this more readable.

Thanks,

/ magnus

  parent reply	other threads:[~2013-07-05  1:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-26 13:05 [PATCH 0/6] Renesas ARM based r8a73a0 SoC updates for v3.11 Simon Horman
2013-05-26 13:05 ` [PATCH 1/6] ARM: shmobile: r8a73a4: add main clock Simon Horman
2013-07-04 20:38   ` [PATCH 1/6] ARM: shmobile: r8a73a4: add a DMAC platform device and clock for it Guennadi Liakhovetski
2013-07-05  1:21   ` Magnus Damm [this message]
2013-05-26 13:05 ` [PATCH 2/6] ARM: shmobile: r8a73a4: add pll clocks Simon Horman
2013-05-26 13:05 ` [PATCH 3/6] ARM: shmobile: r8a73a4: add div4 clocks Simon Horman
2013-05-26 13:05 ` [PATCH 4/6] ARM: shmobile: r8a73a4: add div6 clocks Simon Horman
2013-05-26 13:05 ` [PATCH 5/6] ARM: shmobile: r8a73a4: Remove init_irq declaration in machine description Simon Horman
2013-05-26 13:05 ` [PATCH 6/6] ARM: shmobile: Remove unused r8a73a4 GIC CPU interface DT bits Simon Horman

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=CANqRtoSN1vq0Bn5ODG9n3KKDAFBd3XqOm5+oSsKR14cvd3qhOw@mail.gmail.com \
    --to=magnus.damm@gmail.com \
    --cc=linux-sh@vger.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;
as well as URLs for NNTP newsgroup(s).