summaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia
diff options
context:
space:
mode:
authorCorentin Labbe <clabbe@baylibre.com>2020-02-18 21:07:16 +0100
committerDominik Brodowski <linux@dominikbrodowski.net>2020-03-14 14:32:02 +0100
commit7c8c5673f6cf1f35d5ffb1df3095526d28e6730a (patch)
tree4daf46a1eebfa1282890e2daa9a8f185b7fe16be /drivers/pcmcia
parentLinux 5.6-rc5 (diff)
downloadlinux-7c8c5673f6cf1f35d5ffb1df3095526d28e6730a.tar.xz
linux-7c8c5673f6cf1f35d5ffb1df3095526d28e6730a.zip
pcmcia: omap: remove useless cast for driver.name
device_driver name is const char pointer, so it not useful to cast driver_name (which is already const char). Signed-off-by: Corentin Labbe <clabbe@baylibre.com> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia')
-rw-r--r--drivers/pcmcia/omap_cf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/omap_cf.c b/drivers/pcmcia/omap_cf.c
index 0a04eb04f3a2..d3ef5534991e 100644
--- a/drivers/pcmcia/omap_cf.c
+++ b/drivers/pcmcia/omap_cf.c
@@ -329,7 +329,7 @@ static int __exit omap_cf_remove(struct platform_device *pdev)
static struct platform_driver omap_cf_driver = {
.driver = {
- .name = (char *) driver_name,
+ .name = driver_name,
},
.remove = __exit_p(omap_cf_remove),
};