[PATCH 0/5] phy: remove the need for the phys to know about their users

From: Heikki Krogerus
Date: Mon Dec 09 2013 - 10:09:10 EST


Hi,

This replaces the consumer & init_data structures with a lookup table
that contains complete associations with the phys and their users,
removing the need for the phy drivers themselves to care about their
users even when not using DT.

The lookup method is copied from the way the gpio descriptor lookup is
now handled in gpiolib.c.


Heikki Krogerus (5):
phy: unify the phy name parameters
phy: add support for indexed lookup
phy: improved lookup method
arm: omap3: twl: use the new lookup method with usb phy
phy: remove the old lookup method

arch/arm/mach-omap2/twl-common.c | 15 ++-
drivers/phy/phy-core.c | 209 ++++++++++++++++++++++++++----------
drivers/phy/phy-exynos-dp-video.c | 2 +-
drivers/phy/phy-exynos-mipi-video.c | 2 +-
drivers/phy/phy-omap-usb2.c | 2 +-
drivers/phy/phy-twl4030-usb.c | 4 +-
include/linux/phy/phy.h | 86 ++++++++++-----
7 files changed, 221 insertions(+), 99 deletions(-)

--
1.8.5.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/