commit | 6cb4f4df686e6515f43d9fec3f43226d408999b3 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Mon May 18 17:34:11 2015 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun May 24 09:30:03 2015 -0700 |
tree | edf90f778d18418b2313573494b66391ffe2b5c2 | |
parent | 83ed07c5db71bc02bd646d6eb60b48908235cdf9 [diff] |
USB: cdc-acm: use idr to manage minor numbers Use the idr-interface rather than a static table to manage minor-number allocations. This allows us to easily switch over to fully dynamic minor allocations when the TTY-layer can handle that. Signed-off-by: Johan Hovold <johan@kernel.org> Acked-by: Oliver Neukum <oneukum@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>