History

usb: ohci-da8xx: remove unused callbacks from platform data

There are no more users of the platform_data callbacks in ohci-da8xx. Remove them.

Bartosz Golaszewski committed 7 years ago

Commit 23fa70e1 parent 339850f1 file · +0 −14Browse files

Showing the changes to include/linux (1 of 1 file). Show all

Unified · Split

include/linux/platform_data/usb-davinci.h+0−14
@@ -11,22 +11,8 @@ · 10 unmodified lines
1111 #ifndef __ASM_ARCH_USB_H
1212 #define __ASM_ARCH_USB_H
1313
14−struct da8xx_ohci_root_hub;
15−
16−typedef void (*da8xx_ocic_handler_t)(struct da8xx_ohci_root_hub *hub,
17− unsigned port);
18−
1914 /* Passed as the platform data to the OHCI driver */
2015 struct da8xx_ohci_root_hub {
21− /* Switch the port power on/off */
22− int (*set_power)(unsigned port, int on);
23− /* Read the port power status */
24− int (*get_power)(unsigned port);
25− /* Read the port over-current indicator */
26− int (*get_oci)(unsigned port);
27− /* Over-current indicator change notification (pass NULL to disable) */
28− int (*ocic_notify)(da8xx_ocic_handler_t handler);
29−
3016 /* Time from power on to power good (in 2 ms units) */
3117 u8 potpgt;
3218 };

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t