example cdev: use make_dev_s
Make use of make_dev_s in the example cdev. While here, fix warnings.
Reviewed by: rpokala