Re: [PATCH 3/6] staging: iio: tsl2x7x: remove tsl2x7x_i2c_read()

From: Frans Klaver
Date: Thu Jun 29 2017 - 15:27:40 EST


On Thu, Jun 29, 2017 at 7:03 PM, Brian Masney <masneyb@xxxxxxxxxxxxx> wrote:
> 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 occurances with a call to
> i2c_smbus_read_byte_data().

s,occurances,occurrences,

Frans