phy: Use _nodev naming convention if non-device clients
authorJagan Teki <jagan@amarulasolutions.com>
Fri, 1 May 2020 18:14:18 +0000 (23:44 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Sun, 10 May 2020 20:00:49 +0000 (01:30 +0530)
commit5a2b6778fac98f2cb9ee1e7e6b98cd88d18dcbb9
treea4586aad0060e62cfefc9af09e42c27c9ea945b8
parentcd3e01b14f34bcfb69927dc246c1de792c784468
phy: Use _nodev naming convention if non-device clients

Clients that are requesting some of uclass API's
without a device (with ofnode) usually have _nodev
naming convention.

- clk_get_by_index_nodev
- clk_get_by_name_nodev
- reset_get_by_index_nodev
- gpio_request_by_name_nodev

So, update the same naming convention PHY framework.

This doesn't change the existing functionality.

Cc: Neil Armstrong <narmstrong@baylibre.com>
Cc: Tom Rini <trini@konsulko.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
arch/arm/mach-meson/board-gx.c
drivers/phy/phy-uclass.c
include/generic-phy.h