On 11/12/24 14:26, Daniel Wagner wrote:
Introducing a callback in struct bus_type so that a subsystem can hook up the getters directly. This approach avoids exposing random getters in any subsystems APIs. Acked-by: Bjorn Helgaas <bhelgaas@xxxxxxxxxx> Signed-off-by: Daniel Wagner <wagi@xxxxxxxxxx> --- include/linux/device/bus.h | 3 +++ 1 file changed, 3 insertions(+)
Reviewed-by: Hannes Reinecke <hare@xxxxxxx> Cheers, Han nes -- Dr. Hannes Reinecke Kernel Storage Architect hare@xxxxxxx +49 911 74053 688 SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich