aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBrian Masney <[email protected]>2017-07-06 18:56:21 -0400
committerJonathan Cameron <[email protected]>2017-07-09 18:27:07 +0100
commitd2f46f56b8ecd32ab0734b4a6d8a14de88d9894f (patch)
tree73538bd096eb3dec1732740a4e905ca445b94702 /tools/perf/scripts/python
parent8ea6134c234ee142f6be0361afd6369d13440f72 (diff)
staging: iio: tsl2x7x: remove tsl2x7x_i2c_read()
tsl2x7x_i2c_read() would call i2c_smbus_write_byte() and i2c_smbus_read_byte(). These two i2c functions can be replaced with a single call to i2c_smbus_read_byte_data(). This patch removes the tsl2x7x_i2c_read() function and replaces all occurrences with a call to i2c_smbus_read_byte_data(). Signed-off-by: Brian Masney <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions