Hi, This series adds several macros for various pin functions and pull-up/downs, then uses them to remove any magic numbers related to gpio in various drivers. This is for the sunxi branch.
Ian, you can squash these into your upstreaming patches. Cheers ChenYu Chen-Yu Tsai (5): ARM: sunxi: Add pull-up/down and several pin function definitions i2c: sunxi: Use sunxi gpio pin function macros net: sunxi_emac: Use sunxi gpio pin function macros net: sunxi_gmac: Use sunxi gpio pin function macros mmc: sunxi: Use sunxi gpio functions to configure pins arch/arm/include/asm/arch-sunxi/gpio.h | 16 ++++++++++ drivers/i2c/sunxi_i2c.c | 4 +-- drivers/mmc/sunxi_mmc.c | 56 ++++++++++++++++------------------ drivers/net/sunxi_emac.c | 2 +- drivers/net/sunxi_gmac.c | 2 +- 5 files changed, 46 insertions(+), 34 deletions(-) -- 1.9.0 -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
