usb: ohci-da8xx: remove unused callbacks from platform data
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 11 Feb 2019 10:37:02 +0000 (11:37 +0100)
committerSekhar Nori <nsekhar@ti.com>
Tue, 12 Feb 2019 08:18:59 +0000 (13:48 +0530)
There are no more users of the platform_data callbacks in ohci-da8xx.
Remove them.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
include/linux/platform_data/usb-davinci.h

index 0926e99f2e8fe365a51bdf9b847d34b0b0b4234b..879f5c78b91a30fb05681668797a5f07c6bf43b9 100644 (file)
 #ifndef __ASM_ARCH_USB_H
 #define __ASM_ARCH_USB_H
 
-struct da8xx_ohci_root_hub;
-
-typedef void (*da8xx_ocic_handler_t)(struct da8xx_ohci_root_hub *hub,
-                                    unsigned port);
-
 /* Passed as the platform data to the OHCI driver */
 struct da8xx_ohci_root_hub {
-       /* Switch the port power on/off */
-       int     (*set_power)(unsigned port, int on);
-       /* Read the port power status */
-       int     (*get_power)(unsigned port);
-       /* Read the port over-current indicator */
-       int     (*get_oci)(unsigned port);
-       /* Over-current indicator change notification (pass NULL to disable) */
-       int     (*ocic_notify)(da8xx_ocic_handler_t handler);
-
        /* Time from power on to power good (in 2 ms units) */
        u8      potpgt;
 };