diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2013-06-02 13:53:03 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-06-03 19:54:55 (GMT) |
commit | 6dd64a304eff76ca7dd41bf63df55efa965fa9ec (patch) | |
tree | 9fecf663307061ad6c35933b78c1a203552cad8b /Kconfig | |
parent | 7b19bc2ca92ddda8f8e128593a2d523092ab4b14 (diff) | |
download | linux-fsl-qoriq-6dd64a304eff76ca7dd41bf63df55efa965fa9ec.tar.xz |
cw1200: Replace use of 'struct resource' with 'int' for GPIO fields.
The only advantage of 'struct resource' is that it lets us assign names
as part of the platform data. Unfortunately since we are using platform
data, we are already limited to a single instance of each driver,
rendering this moot.
So, replace the struct resources with ints, resulting in cleaner code.
This was based on a suggestion from Arnd Bergmann.
Signed-off-by: Solomon Peachy <pizza@shaftnet.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions