aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2022-12-07 21:03:46 +0200
committerJonathan Cameron <[email protected]>2022-12-28 17:19:46 +0000
commit571b97fd8777234fcd1f94ed36781bed39f1e20d (patch)
tree0a741bb1ab92b259cbd385700ac35bd7d87d4d78 /tools/perf/scripts/python/event_analyzing_sample.py
parent85a6b728eff68647746629b9332434e237a53100 (diff)
iio: light: tsl2563: Use dev_get_drvdata() directly in PM callbacks
PM callbacks take struct device pointer as a parameter, use dev_get_drvdata() to retrieve it instead of unneeded double loop of referencing via i2c_get_clientdata(to_i2c_client(dev)). Signed-off-by: Andy Shevchenko <[email protected]> Tested-by: Ferry Toth <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions