From: Tomi Valkeinen Date: Fri, 9 Mar 2012 14:07:39 +0000 (+0200) Subject: OMAPDSS: DSI: improve DSI module id handling X-Git-Tag: v3.5-rc1~7^2~5^2~12^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11ee9606407031827d43ecde8e62a418ac3b4f83;p=pandora-kernel.git OMAPDSS: DSI: improve DSI module id handling We currently use the id of the dsi platform device (dsidev->id) as the DSI hardware module ID. This works because we assign the ID manually in arch/arm/mach-omap2/display.c at boot time. However, with device tree the platform device IDs are automatically assigned to an arbitrary number, and we can't use it. Instead of using dsidev->id during operation, this patch stores the value of dsidev->id to a private field of the dsi driver at probe(). The future device tree code can thus set the private field with some other way. Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed