Re: unregisters a device that doesnt exist

From: Greg KH
Date: Fri Jan 14 2005 - 14:44:01 EST


On Fri, Jan 14, 2005 at 01:14:23PM -0600, Kumar Gala wrote:
> Is it possible to unregister a device (more specifically a
> platform_device) if its hasnt already be registered?

I think it will fail in wonderful and mysterious ways, have you tried
it?

> If not, is there a way to determine if the device has been registered.

Hm, you were the one that registered it, can't you remember if you did
it or not? :)

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/