linux_dsm_epyc7002/drivers/tty/serial
Geert Uytterhoeven a16c4c5a9c serial: sh-sci: Don't check for mctrl_gpio_to_gpiod() returning error
Since commit 1d267ea653 ("serial: mctrl-gpio: simplify init
routine"), mctrl_gpio_init() returns failure if the assignment to any
member of the gpio array results in an error pointer.
Since commit c359522194593815 ("serial: mctrl_gpio: Avoid probe failures
in case of missing gpiolib"), mctrl_gpio_to_gpiod() returns NULL in the
!CONFIG_GPIOLIB case.
Hence there is no longer a need to check for mctrl_gpio_to_gpiod()
returning an error value.  A simple NULL check is sufficient.

This follows the spirit of commit 445df7ff3f ("serial: mctrl-gpio:
drop usages of IS_ERR_OR_NULL") in the mctrl-gpio core.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20190814092924.13857-4-geert+renesas@glider.be
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-09-04 12:43:54 +02:00
..
8250 serial: 8250_pci: Add support for Sunix serial boards 2019-09-04 12:43:53 +02:00
cpm_uart tty: cpm_uart: drop unused iflag macro 2019-05-24 10:09:16 +02:00
jsm
21285.c
altera_jtaguart.c
altera_uart.c
amba-pl010.c
amba-pl011.c tty: Remove dev_err() usage after platform_get_irq() 2019-09-04 12:43:49 +02:00
amba-pl011.h
apbuart.c
apbuart.h
ar933x_uart.c
arc_uart.c
atmel_serial.c tty/serial: atmel: reschedule TX after RX was started 2019-09-04 12:43:54 +02:00
atmel_serial.h
bcm63xx_uart.c
clps711x.c
digicolor-usart.c tty/serial: digicolor: Fix digicolor-usart already registered warning 2019-06-10 19:08:31 +02:00
dz.c
dz.h
earlycon-arm-semihost.c
earlycon-riscv-sbi.c
earlycon.c
efm32-uart.c
fsl_linflexuart.c tty: serial: Add linflexuart driver for S32V234 2019-09-04 12:43:54 +02:00
fsl_lpuart.c tty: serial: fsl_lpuart: Ignore TX/RX interrupts if DMA is enabled 2019-09-04 12:43:51 +02:00
icom.c tty: serial: Remove call to memset after pci_alloc_consistent 2019-09-04 12:43:44 +02:00
icom.h
ifx6x60.c
ifx6x60.h
imx.c serial: imx: get rid of imx_uart_rts_auto() 2019-09-04 12:43:46 +02:00
ioc3_serial.c
ioc4_serial.c
ip22zilog.c
ip22zilog.h
Kconfig tty: serial: Add linflexuart driver for S32V234 2019-09-04 12:43:54 +02:00
kgdb_nmi.c
kgdboc.c kgdboc: disable the console lock when in kgdb 2019-07-30 17:39:39 +02:00
lantiq.c serial: lantiq: Add support for Lightning Mountain SoC 2019-09-04 12:43:53 +02:00
lpc32xx_hs.c tty: Remove dev_err() usage after platform_get_irq() 2019-09-04 12:43:49 +02:00
Makefile tty: serial: Add linflexuart driver for S32V234 2019-09-04 12:43:54 +02:00
max310x.c Merge 5.2-rc3 into tty-next 2019-06-03 13:53:20 +02:00
max3100.c
mcf.c
men_z135_uart.c
meson_uart.c
milbeaut_usio.c
mpc52xx_uart.c
mps2-uart.c
msm_serial.c tty: serial: msm_serial: avoid system lockup condition 2019-06-10 19:42:35 +02:00
mux.c
mvebu-uart.c tty: Remove dev_err() usage after platform_get_irq() 2019-09-04 12:43:49 +02:00
mxs-auart.c
omap-serial.c
owl-uart.c tty: Remove dev_err() usage after platform_get_irq() 2019-09-04 12:43:49 +02:00
pch_uart.c
pic32_uart.c
pic32_uart.h
pmac_zilog.c
pmac_zilog.h
pnx8xxx_uart.c
pxa.c
qcom_geni_serial.c tty: serial: qcom_geni_serial: use devm_platform_ioremap_resource() to simplify code 2019-09-04 12:43:50 +02:00
rda-uart.c tty: Remove dev_err() usage after platform_get_irq() 2019-09-04 12:43:49 +02:00
rp2.c
sa1100.c serial: sa1100: add note about modem control signals 2019-06-04 12:56:33 +01:00
samsung.c
samsung.h
sb1250-duart.c
sc16is7xx.c
sccnxp.c tty: Remove dev_err() usage after platform_get_irq() 2019-09-04 12:43:49 +02:00
serial_core.c tty: serial_core: Set port active bit in uart_port_activate 2019-06-18 09:52:26 +02:00
serial_mctrl_gpio.c serial: mctrl_gpio: Check if GPIO property exisits before requesting it 2019-06-21 10:18:43 +02:00
serial_mctrl_gpio.h serial: mctrl_gpio: Avoid probe failures in case of missing gpiolib 2019-09-04 12:43:50 +02:00
serial_txx9.c
serial-tegra.c serial: tegra: protect IER against LCR.DLAB 2019-09-04 12:43:54 +02:00
sh-sci.c serial: sh-sci: Don't check for mctrl_gpio_to_gpiod() returning error 2019-09-04 12:43:54 +02:00
sh-sci.h
sifive.c tty: Remove dev_err() usage after platform_get_irq() 2019-09-04 12:43:49 +02:00
sirfsoc_uart.c
sirfsoc_uart.h
sn_console.c
sprd_serial.c tty: Remove dev_err() usage after platform_get_irq() 2019-09-04 12:43:49 +02:00
st-asc.c
stm32-usart.c tty: Remove dev_err() usage after platform_get_irq() 2019-09-04 12:43:49 +02:00
stm32-usart.h serial: stm32: add support of RX FIFO threshold 2019-06-21 11:17:36 +02:00
suncore.c
sunhv.c sunhv: Fix device naming inconsistency between sunhv_console and sunhv_reg 2019-06-13 14:04:37 -07:00
sunsab.c
sunsab.h
sunsu.c
sunzilog.c
sunzilog.h
tegra-tcu.c
timbuart.c
timbuart.h
uartlite.c
ucc_uart.c docs: serial: move it to the driver-api 2019-07-15 11:03:03 -03:00
vr41xx_siu.c
vt8500_serial.c
xilinx_uartps.c xilinx_uartps.c: suppress "may be used uninitialised" warning 2019-09-04 12:43:49 +02:00
zs.c
zs.h