Here is my code:
my_device = device_create(my_class, NULL, devno, NULL, "iot_device");
appears in /dev folder
crw------- 1 root root (...) iot_device
I would like it to be created with a resolution of 666 (crw-rw-rw- )
I mean without using chmod 666 iot_device