Re: [PATCH v2] OMAP2PLUS: DSS2: Clean up omap_display_init()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx>
> ---
> 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


--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux