use C99 initializers

Instead of initializing struct miscdevice inside misc_init(), do it when
the struct is created using C99 initializers.