linux/drivers/usb/phy
Linus Walleij b267ddf6a5 usb: phy-generic: Delete unused platform data
The last user of the phy generic platform data was
deleted in commit 1e041b6f31
("usb: dwc3: exynos: Remove dead code"). So get rid of
the platform data, which rids us of another consumer of
the legacy GPIO API at the same time. Make sure we
only inlcude <linux/gpio/consumer.h> which is all we use.

Alter the usb_phy_gen_create_phy() function prototype to
not pass any platform data as this is just hardcoded to
NULL at all locations calling it in the kernel.

Move the devm_gpiod_get* calls out of the if (of_node)
parenthesis, as these calls are generic and do not depend
on device tree, they are used by any hardware description.

Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Felipe Balbi <balbi@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-01-15 10:39:20 +01:00
..
Kconfig usb: phy: Enable compile testing for some of drivers 2019-12-30 20:35:31 +01:00
Makefile usb: phy: Add Kconfig entry for Tegra PHY driver 2018-04-23 09:50:57 +02:00
of.c USB: phy: Remove redundant license text 2017-11-07 15:45:01 +01:00
phy-ab8500-usb.c usb: phy: ab8500-usb: Keep PHY turned on in UART mode 2019-12-30 20:11:31 +01:00
phy-am335x-control.c bus_find_device: Unify the match callback with class_find_device 2019-06-24 05:22:31 +02:00
phy-am335x-control.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
phy-am335x.c usb: phy-generic: Delete unused platform data 2020-01-15 10:39:20 +01:00
phy-fsl-usb.c USB: Changes for v5.4 merge window 2019-09-02 19:20:57 +02:00
phy-fsl-usb.h USB: phy: Remove redundant license text 2017-11-07 15:45:01 +01:00
phy-generic.c usb: phy-generic: Delete unused platform data 2020-01-15 10:39:20 +01:00
phy-generic.h usb: phy-generic: Delete unused platform data 2020-01-15 10:39:20 +01:00
phy-gpio-vbus-usb.c USB: phy: Remove redundant license text 2017-11-07 15:45:01 +01:00
phy-isp1301-omap.c USB: phy: Remove redundant license text 2017-11-07 15:45:01 +01:00
phy-isp1301.c bus_find_device: Unify the match callback with class_find_device 2019-06-24 05:22:31 +02:00
phy-keystone.c usb: phy-generic: Delete unused platform data 2020-01-15 10:39:20 +01:00
phy-mv-usb.c USB: phy: mv-usb: convert platform driver to use dev_groups 2019-08-09 07:55:44 +02:00
phy-mv-usb.h USB: phy: Remove redundant license text 2017-11-07 15:45:01 +01:00
phy-mxs-usb.c usb: phy: mxs: use devm_platform_ioremap_resource() to simplify code 2019-10-04 14:09:41 +02:00
phy-omap-otg.c USB: phy: Remove redundant license text 2017-11-07 15:45:01 +01:00
phy-tahvo.c USB: phy: tahvo: convert platform driver to use dev_groups 2019-08-09 07:55:44 +02:00
phy-tegra-usb.c usb: phy: tegra: Keep CPU interrupts enabled 2020-01-09 16:21:58 +01:00
phy-twl6030-usb.c USB: phy: twl6030: convert platform driver to use dev_groups 2019-08-09 07:55:44 +02:00
phy-ulpi-viewport.c USB: phy: Remove redundant license text 2017-11-07 15:45:01 +01:00
phy-ulpi.c usb: ulpi: Add resource-managed variant of otg_ulpi_create() 2020-01-09 16:21:57 +01:00
phy.c USB: phy: drop legacy board-file support 2018-04-22 15:58:24 +02:00