diff options
author | Hendrik Brueckner <brueckner@linux.vnet.ibm.com> | 2013-11-12 14:03:37 (GMT) |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-11-15 13:08:37 (GMT) |
commit | d1e61fe49fd450be15d402ac353784f5ba8a624e (patch) | |
tree | 9497d71d9908e5daf371345cc9e134dac9f11d06 /drivers/pcmcia/pxa2xx_palmtc.c | |
parent | aec644e56ed4fdd6c96db9cd494ae523f0d70e2e (diff) | |
download | linux-fsl-qoriq-d1e61fe49fd450be15d402ac353784f5ba8a624e.tar.xz |
s390/3270: fix missing device_destroy() call
Unloading the fs3270 kernel module does not remove the created
"3270/tub" device. Reloading the module then causes a sysfs warning:
"sysfs: cannot create duplicate filename '/devices/virtual/3270/3270!tub'".
Call device_destroy() in the module exit function to solve this issue.
Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/pcmcia/pxa2xx_palmtc.c')
0 files changed, 0 insertions, 0 deletions