unregister_driver_type possible bug in_array not properly initialized

i might be wrong, but it appears that the in_array is missing the "type" argument and that the options defined are not an "array" this also affects version 1.6