summaryrefslogtreecommitdiff
path: root/drivers/mfd/omap-usb-host.c
diff options
context:
space:
mode:
authorCorentin Labbe <clabbe@baylibre.com>2020-02-18 20:09:01 +0000
committerLee Jones <lee.jones@linaro.org>2020-03-30 07:35:27 +0100
commit9a153b0ed196cc6052ea6a32f517cbf5015c8d29 (patch)
treeceeb5171ba8371adf7c7e558147dc008d8277b14 /drivers/mfd/omap-usb-host.c
parent74391043a42fd58a3cf5c93f6dcf9ddbdce55332 (diff)
mfd: omap: Remove useless cast for driver.name
device_driver name is const char pointer, so it not useful to cast xx_driver_name (which is already const char). Signed-off-by: Corentin Labbe <clabbe@baylibre.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/omap-usb-host.c')
-rw-r--r--drivers/mfd/omap-usb-host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c
index 4798d9f3f9d5..1f4f01b02d98 100644
--- a/drivers/mfd/omap-usb-host.c
+++ b/drivers/mfd/omap-usb-host.c
@@ -840,7 +840,7 @@ MODULE_DEVICE_TABLE(of, usbhs_omap_dt_ids);
static struct platform_driver usbhs_omap_driver = {
.driver = {
- .name = (char *)usbhs_driver_name,
+ .name = usbhs_driver_name,
.pm = &usbhsomap_dev_pm_ops,
.of_match_table = usbhs_omap_dt_ids,
},