dynamically create/delete device nodes by driver
I'm a starter here in linux, I have written a driver code and in that, I register my character devices by passing 0 for the major number.
To set up I used to use mknod command from terminal to create node,
Is there any method to create node dynamically from driver code during initialization and delete them at cleanup time?? Kindly let me know.
Prakash A Manannavar