aboutsummaryrefslogtreecommitdiff
path: root/drivers/pcmcia/bfin_cf_pcmcia.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven2013-11-12 20:07:18 +0100
committerGreg Kroah-Hartman2013-12-08 22:47:13 -0800
commit4455d9fd48093d27c95a802071c9dca9f79d8fff (patch)
tree5d3fc98a905d36a7c019826741f267a06ee4dbfa /drivers/pcmcia/bfin_cf_pcmcia.c
parent51b68128ef55200fbe03d82c9ac5722f255e58b7 (diff)
pcmcia: Remove superfluous name casts
device_driver.name is "const char *" Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: linux-pcmcia@lists.infradead.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/pcmcia/bfin_cf_pcmcia.c')
-rw-r--r--drivers/pcmcia/bfin_cf_pcmcia.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/bfin_cf_pcmcia.c b/drivers/pcmcia/bfin_cf_pcmcia.c
index ed3b522601b3..971991bab975 100644
--- a/drivers/pcmcia/bfin_cf_pcmcia.c
+++ b/drivers/pcmcia/bfin_cf_pcmcia.c
@@ -303,7 +303,7 @@ static int bfin_cf_remove(struct platform_device *pdev)
static struct platform_driver bfin_cf_driver = {
.driver = {
- .name = (char *)driver_name,
+ .name = driver_name,
.owner = THIS_MODULE,
},
.probe = bfin_cf_probe,