[PATCH 08/12] event: Convert misc_init_f() to use events