mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
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>
This commit is contained in:
committed by
Dominik Brodowski
parent
2c523b344d
commit
7c8c5673f6
@@ -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),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user