From: Linus Walleij Date: Mon, 22 Apr 2013 09:57:14 +0000 (+0200) Subject: regulator: ab3100: refactor probe to use IDs X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~131^2~26^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b31835341004022ea2862116de05fea50b8d1e4;p=pandora-kernel.git regulator: ab3100: refactor probe to use IDs This refactors the AB3100 regulator probe to use regulator IDs and pass this to a separate registration function. This works much smoother when migrating to device tree, as we can use a match table with this regulator ID encoded in the .driver_data. Signed-off-by: Linus Walleij Signed-off-by: Mark Brown --- Reading git-diff-tree failed