speakup: misc: Use dynamic minor numbers for speakup devices
authorZhenzhong Duan <zhenzhong.duan@gmail.com>
Wed, 25 Mar 2020 03:30:08 +0000 (11:30 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Mar 2020 14:30:44 +0000 (15:30 +0100)
commitd43bea206eaf8588b0b7ce9cd2c1492ff09a81ba
tree020df2fcaf5168415e28837ac4327cad7dc45445
parent99397d33b763dc554d118aaa38cc5abc6ce985de
speakup: misc: Use dynamic minor numbers for speakup devices

Arnd notes in the link:
   | To clarify: the only numbers that I think should be changed to dynamic
   | allocation are for drivers/staging/speakup. While this is a fairly old
   | subsystem, I would expect that it being staging means we can be a
   | little more progressive with the changes.

This releases misc device minor numbers 25-27 for dynamic usage.

Link: https://lore.kernel.org/lkml/20200120221323.GJ15860@mit.edu/t/
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@gmail.com>
Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Cc: William Hubbs <w.d.hubbs@gmail.com>
Cc: Chris Brannon <chris@the-brannons.com>
Cc: Kirk Reiser <kirk@reisers.ca>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20200325033008.9633-1-zhenzhong.duan@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/speakup/devsynth.c
drivers/staging/speakup/speakup_soft.c