Commit 6dd64a30 authored by Committed by John W. LinvilleBrowse files
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 <firstname.lastname@example.org> Signed-off-by: John W. Linville <email@example.com>
Showing with 47 additions and 97 deletions