how to find if unregister_chrdev() call was successful

Viewed 6913

unregister_chrdev() call from [linux\fs.h] used to return 0 if successful and <0 other wise. But now, in newer kernel versions, the return value of the function has been changed to void so it no longer returns any thing.

Question: Is there any way to find out if the unregister_chrdev() call was successful or not?

1 Answers
Related