summaryrefslogtreecommitdiff
path: root/staging/cli.c
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2017-05-27 18:30:08 +0300
committerTobias Klauser <tklauser@distanz.ch>2017-05-30 09:26:30 +0200
commit83f11c231626f79433a021c526ffa1ac7521ae36 (patch)
tree72a3e0cfb3efd9e34455c8ad5d670a2e08900112 /staging/cli.c
parent90b9483c806f0571988581c1712c7ca236c4a38c (diff)
flowtop: Improve and unify up/down scrolling
Move scrolling logic to the ui.c module, it requires to have some data iteration provided in flowtop.c and delegated to ui.c part. So approach is that now flowtop provides 2 additional callbacks for: 1) Iterate over flows/procs list 2) Draw flow/proc on each iteration which is controlled from ui.c it allows to unify scrolling logic and delegate it to the ui.c, in the future it should allow to easy handle press event on selected row and drow some additional information, or draw a cursor line per selected row. Also fixed case when down scrolling was bigger that printed rows, not it is handled by ui part. Signed-off-by: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'staging/cli.c')
0 files changed, 0 insertions, 0 deletions
=5db4992d8f040b8d8db0b86d42806e0c417f7ccf&id2=370ebb0ef6255132373ed35d13e7b1d8d2eb7003'>diff)
usbnet: pegasus: Use net_device_stats from struct net_devicends-private-remove
Instead of using a private copy of struct net_device_stats in struct pegasus, use stats from struct net_device. Also remove the now unnecessary .ndo_get_stats function. Cc: Petko Manolov <petkan@nucleusys.com> Cc: linux-usb@vger.kernel.org Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'Documentation/devicetree/bindings/pinctrl/marvell,mvebu-pinctrl.txt')