]> git.baikalelectronics.ru Git - kernel.git/commit
staging: mt7621-pci: show N_FTS status using a loop
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Fri, 10 Aug 2018 16:58:46 +0000 (18:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Aug 2018 17:31:59 +0000 (19:31 +0200)
commitd525a5772e3a819180246c118e5d005a4a26484e
treeec9b8d636e5795fbec6e8ead9500bd6fc55e40fd
parent9b5ef8c760971ed2eb6e816d0ff663b7b5669ad5
staging: mt7621-pci: show N_FTS status using a loop

There are some printk's which can be replaced properly
using dev_* kernel functions. Use dev_info to show
N_FTS status for each port using a loop instead of duplicating
lines of code.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-pci/pci-mt7621.c