Pull PNP subsystem updates from Rafael Wysocki: - Update MAINTAINERS to cover include/linux/pnp.h and add the linux-acpi list to the PNP entry in it - add the const modifier to the name field definition in struct pnp_driver - drop a pointer case in the RTC CMOS driver that has become redundant All by Corentin Labbe. * tag 'pnp-5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: MAINTAINERS: Add linux-acpi list to PNP rtc: cmos: remove useless cast for driver_name PNP: constify driver name PNP: add missing include/linux/pnp.h to MAINTAINERS
Unified · Split
| @@ -13381,7 +13381,9 @@ F: Documentation/devicetree/bindings/iio/magnetometer/pni,rm3100.txt · 13380 unmodified lines | ||
| 13381 | 13381 | |
| 13382 | 13382 | PNP SUPPORT |
| 13383 | 13383 | M: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com> |
| 13384 | +L: linux-acpi@vger.kernel.org | |
| 13384 | 13385 | S: Maintained |
| 13386 | +F: include/linux/pnp.h | |
| 13385 | 13387 | F: drivers/pnp/ |
| 13386 | 13388 | |
| 13387 | 13389 | POSIX CLOCKS and TIMERS |
| @@ -1345,7 +1345,7 @@ static const struct pnp_device_id rtc_ids[] = { · 1344 unmodified lines | ||
| 1345 | 1345 | MODULE_DEVICE_TABLE(pnp, rtc_ids); |
| 1346 | 1346 | |
| 1347 | 1347 | static struct pnp_driver cmos_pnp_driver = { |
| 1348 | − .name = (char *) driver_name, | |
| 1348 | + .name = driver_name, | |
| 1349 | 1349 | .id_table = rtc_ids, |
| 1350 | 1350 | .probe = cmos_pnp_probe, |
| 1351 | 1351 | .remove = cmos_pnp_remove, |
| @@ -379,7 +379,7 @@ struct pnp_id { · 378 unmodified lines | ||
| 379 | 379 | }; |
| 380 | 380 | |
| 381 | 381 | struct pnp_driver { |
| 382 | − char *name; | |
| 382 | + const char *name; | |
| 383 | 383 | const struct pnp_device_id *id_table; |
| 384 | 384 | unsigned int flags; |
| 385 | 385 | int (*probe) (struct pnp_dev *dev, const struct pnp_device_id *dev_id); |