• Olof Johansson's avatar
    [POWERPC] pasemi: clean up mdio_gpio a bit · 2dd3c001
    Olof Johansson authored
    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: default avatarOlof Johansson <olof@lixom.net>
    2dd3c001
gpio_mdio.c 7.02 KB