Instead of checking each time the function is to be called, consider moving the checks to visorbus_register_visor_driver. All drivers should have the functions probe, remove, pause, resume. We will address channel_interrupts later. All drivers support channel types, should be fixed in registration as well.
Instead of checking each time the function is to be called, consider moving the checks to visorbus_register_visor_driver. All drivers should have the functions probe, remove, pause, resume. We will address channel_interrupts later. All drivers support channel types, should be fixed in registration as well.