aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMasahiro Yamada <[email protected]>2017-07-28 01:16:24 +0900
committerWolfram Sang <[email protected]>2017-07-31 17:03:32 +0200
commit9242e72aaea05c0fce2003a8efa48f403d87a5bf (patch)
tree5455132d3d29c84bba3bfb467a90269d0a59e2d6 /tools/perf/scripts/python/export-to-postgresql.py
parentf2326401b8ff8a646092562d272ed50d9cf99c6c (diff)
i2c: use dev_get_drvdata() to get private data in suspend/resume hooks
Several drivers call to_platform_device() to get platform_device and pass it to platform_get_drvdata(). In platform_get_drvdata(), the platform_device is converted back to struct device again. Use dev_get_drvdata() to avoid platform_device/device dance. Signed-off-by: Masahiro Yamada <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> (for DesignWare only) Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions