From: Axel Lin Date: Wed, 17 Apr 2013 08:01:22 +0000 (+0800) Subject: regulator: as3711: Use a static of_regulator_match table for of_regulator_match X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~131^2~23^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6c7d73192052eb90e782c626ecaf328c7e9bc6e;p=pandora-kernel.git regulator: as3711: Use a static of_regulator_match table for of_regulator_match The same table can be used for multiple instance of pdev, so we don't need to allocate memory for of_regulator_match table per pdev. match->driver_data points to the corresponding entry of as3711_reg_info, however it is not used in current code, thus this patch does not set driver_data in the of_regulator_match table. Signed-off-by: Axel Lin Acked-by: Guennadi Liakhovetski Signed-off-by: Mark Brown --- Reading git-diff-tree failed