Changed .ioctl to .unlocked_ioctl - modified how dmesg is cleared. Verified & working.