Commit 7c8c5673 authored by Corentin Labbe's avatar Corentin Labbe Committed by Dominik Brodowski

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: default avatarCorentin Labbe <clabbe@baylibre.com>
Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
parent 2c523b34
......@@ -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),
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment