]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit - drivers/tty/synclinkmp.c
tty: replace ->proc_fops with ->proc_show
authorChristoph Hellwig <hch@lst.de>
Fri, 13 Apr 2018 19:04:45 +0000 (21:04 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 16 May 2018 05:24:30 +0000 (07:24 +0200)
commit8a8dcabffb991a08fa1fab4e75b80a9075825606
treedb9d836b96716c68104ab6c82d6a18912d0b3c84
parentec7d9c9ce897174243af4fcd201dbfc34df0f3a3
tty: replace ->proc_fops with ->proc_show

Just set up the show callback in the tty_operations, and use
proc_create_single_data to create the file without additional
boilerplace code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
14 files changed:
arch/ia64/hp/sim/simserial.c
arch/xtensa/platforms/iss/console.c
drivers/char/pcmcia/synclink_cs.c
drivers/mmc/core/sdio_uart.c
drivers/staging/fwserial/fwserial.c
drivers/tty/amiserial.c
drivers/tty/cyclades.c
drivers/tty/serial/serial_core.c
drivers/tty/synclink.c
drivers/tty/synclink_gt.c
drivers/tty/synclinkmp.c
drivers/usb/serial/usb-serial.c
fs/proc/proc_tty.c
include/linux/tty_driver.h