]> 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)
commit256996ebdddb6adb6064a6952251ccd4713d9b02
treeec9b8d636e5795fbec6e8ead9500bd6fc55e40fd
parent1f26a160f9c410c1c3d01edb93344c838c33b87d
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