diff options
author | Andrew Lunn <andrew@lunn.ch> | 2013-01-06 14:10:38 +0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-01-06 21:53:10 +0400 |
commit | 8758c885c43859266e45db588b1a5992c049c595 (patch) | |
tree | 125215c6ffeda5ac06b3e0dc2330753c77917891 /arch/arm/mach-kirkwood/ts219-setup.c | |
parent | d2268be3dc0ef59f9d572f082c08e698e4617bc4 (diff) | |
download | linux-8758c885c43859266e45db588b1a5992c049c595.tar.xz |
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 <andrew@lunn.ch>
Tested-by: Stefan Peter <s.peter@mplch>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-kirkwood/ts219-setup.c')
0 files changed, 0 insertions, 0 deletions