aboutsummaryrefslogtreecommitdiff
path: root/kernel/time/timekeeping_debug.c
diff options
context:
space:
mode:
authorJacob Keller <[email protected]>2016-04-01 11:15:09 -0700
committerJeff Kirsher <[email protected]>2016-04-20 22:17:29 -0700
commit09401ae25191039f4aa45c13718595f550745c68 (patch)
treee08c1de41b12c778538746b590683aa1d7721b3e /kernel/time/timekeeping_debug.c
parent10c9ead9f3c6bb24bddc9a96681f7d58e6623966 (diff)
fm10k: add helper functions to set strings and data for ethtool stats
Reduce duplicate code and the amount of indentation by adding fm10k_add_stat_strings and fm10k_add_ethtool_stats functions which help add fm10k_stat structures to the ethtool stats callbacks. This helps increase ease of use for future stat additions, and increases code readability. Signed-off-by: Jacob Keller <[email protected]> Tested-by: Krishneil Singh <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'kernel/time/timekeeping_debug.c')
0 files changed, 0 insertions, 0 deletions