mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-16 05:50:19 +00:00
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>
This commit is contained in:
parent
51b68128ef
commit
4455d9fd48
@ -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,
|
||||
|
@ -359,7 +359,7 @@ MODULE_DEVICE_TABLE(of, electra_cf_match);
|
||||
|
||||
static struct platform_driver electra_cf_driver = {
|
||||
.driver = {
|
||||
.name = (char *)driver_name,
|
||||
.name = driver_name,
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = electra_cf_match,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user