mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-24 18:16:04 +00:00
[POWERPC] pasemi: clean up mdio_gpio a bit
Misc cleanups of mdio_gpio: * Better error handling/unrolling in case of init/alloc failures * Go through child nodes and get their interrupts instead of using hardcoded values * Remap the GPIO registers at module load/driver init instead of during probe * Coding style and other misc cleanups Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
parent
0b47759db5
commit
2dd3c00160
1 changed files with 51 additions and 37 deletions
Loading…
Add table
Add a link
Reference in a new issue