aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorFuqian Huang <huangfq.daxian@gmail.com>2019-07-04 10:36:40 +0800
committerDavid S. Miller <davem@davemloft.net>2019-07-05 15:25:04 -0700
commitb82b21391092c87d257467762eacf496f43c6874 (patch)
treec5c197ac4256510e44853d8f8b4ebf1b63d36a8b /tools/perf/scripts/python/export-to-postgresql.py
parentnet/can: using dev_get_drvdata directly (diff)
downloadwireguard-linux-b82b21391092c87d257467762eacf496f43c6874.tar.xz
wireguard-linux-b82b21391092c87d257467762eacf496f43c6874.zip
net/ethernet: using dev_get_drvdata directly
Several drivers cast a struct device pointer to a struct platform_device pointer only to then call platform_get_drvdata(). To improve readability, these constructs can be simplified by using dev_get_drvdata() directly. Signed-off-by: Fuqian Huang <huangfq.daxian@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions