aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorWolfram Sang <[email protected]>2020-03-16 17:39:07 +0100
committerEmil Velikov <[email protected]>2020-05-17 21:29:41 +0100
commita519f6d03f4c497d02c7915fc33eb2b194ee048d (patch)
tree5d7b2ca2b8037d7ab97ef1c7a76dc6804f378dd0 /tools/perf/scripts/python/stackcollapse.py
parent683c09e9a8e1008b72fc23f6e99687eed59cfa49 (diff)
drm: encoder_slave: use new I2C API
i2c_new_client() is deprecated, use the replacement i2c_new_client_device(). Also, we have a helper to check if a driver is bound. Use it to simplify the code. Note that this changes the errno for a failed device creation from ENOMEM to ENODEV. No callers currently interpret this errno, though, so we use this condensed error check. Signed-off-by: Wolfram Sang <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Signed-off-by: Emil Velikov <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions