misc: cleanup minor number definitions in c file into miscdevice.h
HWRNG_MINOR and RNG_MISCDEV_MINOR are duplicate definitions, use unified HWRNG_MINOR instead and moved into miscdevice.h ANSLCD_MINOR and LCD_MINOR are duplicate definitions, use unified LCD_MINOR instead and moved into miscdevice.h MISCDEV_MINOR is renamed to PXA3XX_GCU_MINOR and moved into miscdevice.h Other definitions are just moved without any change. Link: https://lore.kernel.org/lkml/20200120221323.GJ15860@mit.edu/t/ Suggested-by:Arnd Bergmann <arnd@arndb.de> Build-tested-by:
Willy TARREAU <wtarreau@haproxy.com> Build-tested-by:
Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> Signed-off-by:
Zhenzhong Duan <zhenzhong.duan@gmail.com> Acked-by:
Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> Acked-by:
Arnd Bergmann <arnd@arndb.de> Acked-by:
Herbert Xu <herbert@gondor.apana.org.au> Link: https://lore.kernel.org/r/20200311071654.335-2-zhenzhong.duan@gmail.com Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
- arch/um/drivers/random.c 1 addition, 3 deletionsarch/um/drivers/random.c
- drivers/auxdisplay/charlcd.c 0 additions, 2 deletionsdrivers/auxdisplay/charlcd.c
- drivers/auxdisplay/panel.c 0 additions, 2 deletionsdrivers/auxdisplay/panel.c
- drivers/char/applicom.c 0 additions, 1 deletiondrivers/char/applicom.c
- drivers/char/nwbutton.h 0 additions, 1 deletiondrivers/char/nwbutton.h
- drivers/char/toshiba.c 0 additions, 2 deletionsdrivers/char/toshiba.c
- drivers/macintosh/ans-lcd.c 1 addition, 1 deletiondrivers/macintosh/ans-lcd.c
- drivers/macintosh/ans-lcd.h 0 additions, 2 deletionsdrivers/macintosh/ans-lcd.h
- drivers/macintosh/via-pmu.c 0 additions, 3 deletionsdrivers/macintosh/via-pmu.c
- drivers/sbus/char/envctrl.c 0 additions, 2 deletionsdrivers/sbus/char/envctrl.c
- drivers/sbus/char/uctrl.c 0 additions, 2 deletionsdrivers/sbus/char/uctrl.c
- drivers/video/fbdev/pxa3xx-gcu.c 3 additions, 4 deletionsdrivers/video/fbdev/pxa3xx-gcu.c
- include/linux/miscdevice.h 10 additions, 0 deletionsinclude/linux/miscdevice.h
- kernel/power/user.c 0 additions, 2 deletionskernel/power/user.c
Loading
Please register or sign in to comment