linux-stable/include/linux/surface_aggregator
Maximilian Luz ed08d937ea platform/surface: aggregator: Make to_ssam_device_driver() respect constness
Make to_ssam_device_driver() a bit safer by replacing container_of()
with container_of_const() to respect the constness of the passed in
pointer, instead of silently discarding any const specifications. This
change also makes it more similar to to_ssam_device(), which already
uses container_of_const().

Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
Link: https://lore.kernel.org/r/20230525205041.2774947-1-luzmaximilian@gmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2023-05-30 11:20:02 +02:00
..
controller.h platform/surface: aggregator: Rename top-level request functions to avoid ambiguities 2023-02-02 22:48:20 +01:00
device.h platform/surface: aggregator: Make to_ssam_device_driver() respect constness 2023-05-30 11:20:02 +02:00
serial_hub.h platform/surface: aggregator: Improve documentation and handling of message target and source IDs 2023-02-02 22:48:20 +01:00