Update the sample 'echo' character device driver for 5.x:
- Use an dynamic major number rather than a static one.
- Use 'struct cdev *' rather than 'dev_t'.
- Add d_version field to echo_devsw.
- Use malloc()/free() rather than the macros.
Submitted by: Karl Andersson karland at home dot se (2,3)