alistair23-linux/drivers/tty
Aleksandar Markovic 2296eee704 tty: goldfish: Refactor constants to better reflect their nature
Classify constants GOLDFISH_TTY_xxx into two groups: command ids and
register offsets. Apply different naming for register offsets (add
'REG_' after 'GOLDFISH_TTY_' in constant names). Change implementation
to use preprocessor's '#define' statements instead of 'enum'
declaration (as this is more common way of implementation in such
cases).

This makes the driver code easier to follow and hopefully prevents
future bugs.

Signed-off-by: Miodrag Dinic <miodrag.dinic@imgtec.com>
Signed-off-by: Goran Ferenc <goran.ferenc@imgtec.com>
Signed-off-by: Aleksandar Markovic <aleksandar.markovic@imgtec.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-08-31 18:58:45 +02:00
..
hvc tty: hvcs: make ktermios const 2017-08-29 08:28:35 +02:00
ipwireless
serdev tty: Convert to using %pOF instead of full_name 2017-07-30 07:35:28 -07:00
serial serial: 8250_port: Remove useless NULL checks 2017-08-31 18:47:31 +02:00
vt
amiserial.c
bfin_jtag_comm.c
cyclades.c
ehv_bytechan.c tty: Convert to using %pOF instead of full_name 2017-07-30 07:35:28 -07:00
goldfish.c tty: goldfish: Refactor constants to better reflect their nature 2017-08-31 18:58:45 +02:00
isicom.c tty: isicom: constify pci_device_id. 2017-07-30 07:35:27 -07:00
Kconfig
Makefile
metag_da.c
mips_ejtag_fdc.c tty: mips_ejtag_fdc: constify mips_cdmm_device_id 2017-08-28 20:51:22 +02:00
moxa.c tty: moxa: constify pci_device_id. 2017-07-30 07:35:28 -07:00
moxa.h
mxser.c tty: mxser: constify pci_device_id. 2017-07-30 07:35:27 -07:00
mxser.h
n_gsm.c tty: n_gsm: Add compat_ioctl 2017-08-28 20:51:22 +02:00
n_hdlc.c
n_null.c
n_r3964.c
n_tracerouter.c
n_tracesink.c
n_tracesink.h
n_tty.c
nozomi.c
pty.c pty: show associative slave of ptmx in fdinfo 2017-08-28 20:51:23 +02:00
rocket.c
rocket.h
rocket_int.h
synclink.c tty: synclink: constify pci_device_id. 2017-07-30 07:35:27 -07:00
synclink_gt.c tty: synclink_gt: constify pci_device_id. 2017-07-30 07:35:28 -07:00
synclinkmp.c tty: synclinkmp: constify pci_device_id. 2017-07-30 07:35:27 -07:00
sysrq.c
tty_audit.c
tty_baudrate.c
tty_buffer.c tty: fix __tty_insert_flip_char regression 2017-08-02 06:58:17 -07:00
tty_io.c pty: show associative slave of ptmx in fdinfo 2017-08-28 20:51:23 +02:00
tty_ioctl.c
tty_jobctrl.c
tty_ldisc.c TTY/Serial patches for 4.13-rc1 2017-07-03 20:04:16 -07:00
tty_ldsem.c
tty_mutex.c
tty_port.c