aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorWolfram Sang <[email protected]>2020-06-15 07:58:11 +0000
committerWolfram Sang <[email protected]>2020-06-19 07:20:21 +0000
commitbb7d93fff62f32f4ff0072b2ace695bd5f5137e7 (patch)
tree4cef7af640c220926fcab40f5e6793790adf16ea /tools/perf/scripts/python/intel-pt-events.py
parentdrm: encoder_slave: fix refcouting error for modules (diff)
downloadkernel-bb7d93fff62f32f4ff0072b2ace695bd5f5137e7.tar.gz
kernel-bb7d93fff62f32f4ff0072b2ace695bd5f5137e7.zip
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]> Acked-by: Daniel Vetter <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions