[PATCH 3.18 25/90] uio: ensure class is registered before devices