tty: serial: ifx6x60: Use helper variable for dev
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 11 Mar 2020 08:31:30 +0000 (09:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Mar 2020 09:03:54 +0000 (10:03 +0100)
commitb685e6febde68ae1f022e084f2d0df82e573c44c
tree839062eb342b67cac375ee5ac8aac6fb6607169f
parent2607d7246fb2a392091150e1a3ff4371a582d85f
tty: serial: ifx6x60: Use helper variable for dev

The &spi->dev is used so many times that the code gets
visibly better by introducing a simple dev helper variable.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20200311083131.693908-1-linus.walleij@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/ifx6x60.c