From: Andrew Lunn Date: Sun, 6 Jan 2013 10:10:38 +0000 (+0100) Subject: ARM: Kirkwood: Use fixed-regulator instead of board gpio call X-Git-Tag: v3.8-rc3~5^2~4^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8758c885c43859266e45db588b1a5992c049c595;p=pandora-kernel.git ARM: Kirkwood: Use fixed-regulator instead of board gpio call With the change to a DT based pinctrl/gpio driver, using gpio API calls in board-*.c files no longer works, a dereferenced NULL pointer exception occurs instead. By converting the GPIO code into a fixed-regulator which gets probed later once pinctrl/gpio is available, we avoid the exception. Signed-off-by: Andrew Lunn Tested-by: Stefan Peter Signed-off-by: Jason Cooper --- Reading git-diff-tree failed