[PATCH 2/3] vga_switcheroo: Introduce struct vga_switcheroo_client_ops

2012-05-11 Thread Takashi Iwai
This changes the API as a clean-up. Instead of passing multiple function pointers at each time, introduce a new struct holding the whole callback functions and pass it to the registration. The same struct will be used for the upcoming audio client registration, too. Signed-off-by: Takashi Iwai

[PATCH 2/3] vga_switcheroo: Introduce struct vga_switcheroo_client_ops

2012-05-11 Thread Takashi Iwai
This changes the API as a clean-up. Instead of passing multiple function pointers at each time, introduce a new struct holding the whole callback functions and pass it to the registration. The same struct will be used for the upcoming audio client registration, too. Signed-off-by: Takashi Iwai