mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-17 09:47:47 +07:00
rtc: cmos: remove useless cast for driver_name
Now the pnp_driver name is "const char *", there are no need to cast driver_name. Signed-off-by: Corentin Labbe <clabbe@baylibre.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
b927ddf2dd
commit
8d4e59ec94
@ -1345,7 +1345,7 @@ static const struct pnp_device_id rtc_ids[] = {
|
||||
MODULE_DEVICE_TABLE(pnp, rtc_ids);
|
||||
|
||||
static struct pnp_driver cmos_pnp_driver = {
|
||||
.name = (char *) driver_name,
|
||||
.name = driver_name,
|
||||
.id_table = rtc_ids,
|
||||
.probe = cmos_pnp_probe,
|
||||
.remove = cmos_pnp_remove,
|
||||
|
Loading…
Reference in New Issue
Block a user