jo...@britannica.bec.de said: > I would have said that the suspend/resume and shutdown hooks could be > part of device_t directly
Shutdown handlers are often bus frontend specific because they deal with power and/or interrupts. I think it makes a lot of sense to have them installed by the frontends. (Whether by a function call or static initialization is another question, but IMHO the current situation is not so bad that it is worth wasting energy to change it.) best regards Matthias ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender), Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------