summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/omap-usb-tll.c
diff options
context:
space:
mode:
authorCorentin Labbe <clabbe@baylibre.com>2020-02-18 21:09:01 +0100
committerLee Jones <lee.jones@linaro.org>2020-03-30 08:35:27 +0200
commit9a153b0ed196cc6052ea6a32f517cbf5015c8d29 (patch)
treeceeb5171ba8371adf7c7e558147dc008d8277b14 /drivers/mfd/omap-usb-tll.c
parentmfd: Kconfig: Fix some misspelling of the word functionality (diff)
downloadlinux-9a153b0ed196cc6052ea6a32f517cbf5015c8d29.tar.xz
linux-9a153b0ed196cc6052ea6a32f517cbf5015c8d29.zip
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-tll.c')
-rw-r--r--drivers/mfd/omap-usb-tll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/omap-usb-tll.c b/drivers/mfd/omap-usb-tll.c
index 1cf259a48966..4b7f73c317e8 100644
--- a/drivers/mfd/omap-usb-tll.c
+++ b/drivers/mfd/omap-usb-tll.c
@@ -304,7 +304,7 @@ MODULE_DEVICE_TABLE(of, usbtll_omap_dt_ids);
static struct platform_driver usbtll_omap_driver = {
.driver = {
- .name = (char *)usbtll_driver_name,
+ .name = usbtll_driver_name,
.of_match_table = usbtll_omap_dt_ids,
},
.probe = usbtll_omap_probe,