Article 6PGRC [203760.710640] sysfs: cannot create duplicate filename '/devices/virtual/100ask_led_class'

[203760.710640] sysfs: cannot create duplicate filename '/devices/virtual/100ask_led_class'

by
brianyi
from LinuxQuestions.org on (#6PGRC)
could sb help me, I'm learning linux driver programming, because of my fault operation, I didn't call class_destroy(). So, next time I insmod into kernel, then kernel message shows "sysfs: cannot create duplicate filename '/devices/virtual/100ask_led_class'" , and I find that file `/sys/devices/virtual/100ask_led_class` exist, what should I do if I forget class_destroy()?
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments