diff options
author | Felipe Balbi <balbi@ti.com> | 2014-04-16 16:20:44 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-04-21 15:07:24 -0400 |
commit | 4525beeb9aadbb9e1cb3e9e135f4371553f26a70 (patch) | |
tree | 4c3679819c31984dfa313ee64abaf9f0b6abbb18 /arch | |
parent | 0700faaf736492bd203630d179b639a1f5bbb576 (diff) |
usb: phy: rename usb_nop_xceiv to usb_phy_generic
no functional changes, just renaming the function
in order to make it slightly clearer what it should
be used for, also matching the driver name.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-omap2/usb-host.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/usb-host.c b/arch/arm/mach-omap2/usb-host.c index 10855eb4ccc1..ab983cdd3edf 100644 --- a/arch/arm/mach-omap2/usb-host.c +++ b/arch/arm/mach-omap2/usb-host.c | |||
@@ -349,7 +349,7 @@ static struct fixed_voltage_config hsusb_reg_config = { | |||
349 | /* .init_data filled later */ | 349 | /* .init_data filled later */ |
350 | }; | 350 | }; |
351 | 351 | ||
352 | static const char *nop_name = "usb_phy_gen_xceiv"; /* NOP PHY driver */ | 352 | static const char *nop_name = "usb_phy_generic"; /* NOP PHY driver */ |
353 | static const char *reg_name = "reg-fixed-voltage"; /* Regulator driver */ | 353 | static const char *reg_name = "reg-fixed-voltage"; /* Regulator driver */ |
354 | 354 | ||
355 | /** | 355 | /** |
@@ -435,7 +435,7 @@ int usbhs_init_phys(struct usbhs_phy_data *phy, int num_phys) | |||
435 | struct platform_device *pdev; | 435 | struct platform_device *pdev; |
436 | char *phy_id; | 436 | char *phy_id; |
437 | struct platform_device_info pdevinfo; | 437 | struct platform_device_info pdevinfo; |
438 | struct usb_phy_gen_xceiv_platform_data nop_pdata; | 438 | struct usb_phy_generic_platform_data nop_pdata; |
439 | 439 | ||
440 | for (i = 0; i < num_phys; i++) { | 440 | for (i = 0; i < num_phys; i++) { |
441 | 441 | ||
@@ -469,8 +469,8 @@ int usbhs_init_phys(struct usbhs_phy_data *phy, int num_phys) | |||
469 | pdevinfo.id = phy->port; | 469 | pdevinfo.id = phy->port; |
470 | pdevinfo.data = &nop_pdata; | 470 | pdevinfo.data = &nop_pdata; |
471 | pdevinfo.size_data = | 471 | pdevinfo.size_data = |
472 | sizeof(struct usb_phy_gen_xceiv_platform_data); | 472 | sizeof(struct usb_phy_generic_platform_data); |
473 | scnprintf(phy_id, MAX_STR, "usb_phy_gen_xceiv.%d", | 473 | scnprintf(phy_id, MAX_STR, "usb_phy_generic.%d", |
474 | phy->port); | 474 | phy->port); |
475 | pdev = platform_device_register_full(&pdevinfo); | 475 | pdev = platform_device_register_full(&pdevinfo); |
476 | if (IS_ERR(pdev)) { | 476 | if (IS_ERR(pdev)) { |