Refactoring,change *my_cdev to cdev, change cdev->owner to cdev.owner (it produced kernel error), change error handling
This is first commit after which you can test simple_module.ko. After insmod you are able to see newly created char device in /proc/devices. Rmmod also work properly (I hope) :)