diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2011-12-12 20:25:57 +0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-12-13 00:40:16 +0400 |
commit | 1a2d397a6eb5cf40c382d9e3d4bc04aaeb025336 (patch) | |
tree | de928bf30efd84464d173359ae29f6a48b545b31 /drivers/of/base.c | |
parent | fe9f68449a507e03d41bee4500456bbfa22095d3 (diff) | |
download | linux-1a2d397a6eb5cf40c382d9e3d4bc04aaeb025336.tar.xz |
gpio/powerpc: Eliminate duplication of of_get_named_gpio_flags()
A large chunk of qe_pin_request() is unnecessarily cut-and-paste
directly from of_get_named_gpio_flags(). This patch cuts out the
duplicate code and replaces it with a call to of_get_gpio().
v2: fixed compile error due to missing gpio_to_chip()
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'drivers/of/base.c')
0 files changed, 0 insertions, 0 deletions