diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2018-12-07 17:27:31 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-12-19 12:40:17 +0300 |
commit | d6318c0e8318c200aa95b50769d3635907381c08 (patch) | |
tree | 0be847f7b75c128ea4713fcd6aa33e8c3f851561 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0edf39d2c7dbb4947358dd102b6ff35eaaa92d68 (diff) | |
download | linux-d6318c0e8318c200aa95b50769d3635907381c08.tar.xz |
char: lp: detach the device when parallel port is removed
When the parallel port is usb based and the lp attaches to it, we do
get /dev/lp0, but when we remove the usb device and the parallel port
is gone, we are still left with /dev/lp0.
Unregister the device properly in the detach routine based on the port
number it has connected to.
Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions