[PATCH 3.16 095/328] uio: potential double frees if __uio_register_device() fails