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:
Corentin Labbe 2020-03-06 07:53:01 +00:00 коммит произвёл Rafael J. Wysocki
Родитель b927ddf2dd
Коммит 8d4e59ec94
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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,