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:33 +0800
committerDavid S. Miller <davem@davemloft.net>2019-07-05 15:24:41 -0700
commit233cc605a2ef2ec051086b360e0e47c54bba7c32 (patch)
treeca0acb6647d350b21bd6f7293be0fbc2fdb77872 /tools/perf/scripts/python/export-to-postgresql.py
parentMerge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec-next (diff)
downloadwireguard-linux-233cc605a2ef2ec051086b360e0e47c54bba7c32.tar.xz
wireguard-linux-233cc605a2ef2ec051086b360e0e47c54bba7c32.zip
net/can: 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