Introduction - If you have any usage issues, please Google them yourself
The code sample creates a char driver named chardev. You can cat its device file (or open the file with a program) and the driver will put the number of times the device file has been read from into the file.