public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Tomi Valkeinen <tomi.valkeinen@ti.com>
To: Archit Taneja <archit@ti.com>
Cc: linux-omap@vger.kernel.org, b-cousson@ti.com
Subject: Re: [PATCH v2] OMAP2PLUS: DSS2: Clean up omap_display_init()
Date: Mon, 18 Apr 2011 13:08:17 +0300	[thread overview]
Message-ID: <1303121297.2062.12.camel@deskari> (raw)
In-Reply-To: <1303099333-13327-1-git-send-email-archit@ti.com>

On Mon, 2011-04-18 at 09:32 +0530, Archit Taneja wrote:
> Currently, omap_display_init() maintains arrays for hwmod name(oh_name) and the
> correspnding platform_device name(dev_name) needed by omap_device_build().
> A variable oh_count keeps a track of the number of devices to build from oh_name
> based on what omap revision it is.
> 
> Clean this up by maintaining an array of omap_dss_hwmod_data struct which is
> defined for each omap revision as suggested by Tomi Valkeinen. Assign the
> corresponding omap_dss_hwmod_data array struct to the pointer curr_dss_hwmod in
> omap_display_init().
> 
> Signed-off-by: Archit Taneja <archit@ti.com>
> ---
> v2:
> -Remove unnecessary extra struct
> -add __intdata in array definitions
> 
> Tested on OMAP 3430sdp and OMAP4430 sdp.
> 
> Can be applied over:
> https://gitorious.org/linux-omap-dss2/linux/commits/master
> 
>  arch/arm/mach-omap2/display.c |   75 ++++++++++++++++++++++++++--------------
>  1 files changed, 49 insertions(+), 26 deletions(-)

Thanks, applied.

 Tomi



      reply	other threads:[~2011-04-18 10:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-18  4:02 [PATCH v2] OMAP2PLUS: DSS2: Clean up omap_display_init() Archit Taneja
2011-04-18 10:08 ` Tomi Valkeinen [this message]

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=1303121297.2062.12.camel@deskari \
    --to=tomi.valkeinen@ti.com \
    --cc=archit@ti.com \
    --cc=b-cousson@ti.com \
    --cc=linux-omap@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