usb: remove const qualifier in struct usb_cfg_data()

The pointer to interface descriptor in struct usb_cfg_data
is used to access and modify the descriptor at runtime.
Remove const qualifier and thus avoid unnecessary casts.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
This commit is contained in:
Johann Fischer 2021-03-18 14:30:28 +01:00 committed by Anas Nashif
commit a942697d7b

View file

@ -182,7 +182,7 @@ struct usb_cfg_data {
*/ */
const uint8_t *usb_device_description; const uint8_t *usb_device_description;
/** Pointer to interface descriptor */ /** Pointer to interface descriptor */
const void *interface_descriptor; void *interface_descriptor;
/** Function for interface runtime configuration */ /** Function for interface runtime configuration */
usb_interface_config interface_config; usb_interface_config interface_config;
/** Callback to be notified on USB connection status change */ /** Callback to be notified on USB connection status change */