OSDN Git Service

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)
commit293dcd6592a29eec392312246f2b158195d700d6
treeec9b8d636e5795fbec6e8ead9500bd6fc55e40fd
parent02d72eef1814ea05e2613e5ab6136d8393f8a682
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