From: Rajendra Nayak Date: Thu, 3 Feb 2011 12:45:22 +0000 (+0000) Subject: omap3sdp: clean regulator supply mapping in board file X-Git-Tag: v2.6.39-rc1~432^2~23^4~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73a92aa4f1d6786eaa5b4e637eee648db0dfd7a7;p=pandora-kernel.git omap3sdp: clean regulator supply mapping in board file clean the regulator supply mapping data in the 3430sdp board file (which is spread all over) by moving all of them together. Also use the REGULATOR_SUPPLY macro and remove instances of mapping dev pointers at run time. Additonally define all regulator_consumer_supply as array's and use ARRAY_SIZE macro to define num_consumer_supplies. Signed-off-by: Rajendra Nayak Reviewed-by: Felipe Balbi Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed