Remove the proc_setup callback. The drivers can use CLASS_DEVICE_ATTR instead. Example: i82365.c.
Attach a file by drag & drop or click to upload