#include <linux/phy/phy.h> /** * Helper that registers PHY for a ULPI device and adds a lookup for binding it * and it's controller, which is always the parent. */
static inline struct phy *ulpi_phy_create(struct ulpi *ulpi, const struct phy_ops *ops) { struct phy *phy; int ret; phy = phy_create(&ulpi->dev, NULL, ops); if (IS_ERR(phy)) return phy; ret = phy_create_lookup(phy, "usb2-phy", dev_name(ulpi->dev.parent)); if (ret) { phy_destroy(phy); return ERR_PTR(ret); } return phy; }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Heikki Krogerus | 89 | 98.89% | 1 | 50.00% |
Axel Lin | 1 | 1.11% | 1 | 50.00% |
Total | 90 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Heikki Krogerus | 38 | 100.00% | 1 | 100.00% |
Total | 38 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Heikki Krogerus | 132 | 99.25% | 1 | 50.00% |
Axel Lin | 1 | 0.75% | 1 | 50.00% |
Total | 133 | 100.00% | 2 | 100.00% |