sfc: falcon: Make I2C terminology more inclusive
authorEaswar Hariharan <eahariha@linux.microsoft.com>
Thu, 11 Jul 2024 05:27:32 +0000 (05:27 +0000)
committerJakub Kicinski <kuba@kernel.org>
Sat, 13 Jul 2024 23:02:35 +0000 (16:02 -0700)
I2C v7, SMBus 3.2, and I3C 1.1.1 specifications have replaced "master/slave"
with more appropriate terms. Inspired by Wolfram's series to fix drivers/i2c/,
fix the terminology for users of I2C_ALGOBIT bitbanging interface, now that
the approved verbiage exists in the specification.

Reviewed-by: Martin Habets <habetsm.xilinx@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Easwar Hariharan <eahariha@linux.microsoft.com>
Link: https://patch.msgid.link/20240711052734.1273652-5-eahariha@linux.microsoft.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/sfc/falcon/falcon.c

index 7a1c9337081b52d783a95e3cb0cdb1b5d3bd1b19..36114ce88034cb9b4ad25fd0086bd3a04910ebd1 100644 (file)
@@ -367,7 +367,7 @@ static const struct i2c_algo_bit_data falcon_i2c_bit_operations = {
        .getsda         = falcon_getsda,
        .getscl         = falcon_getscl,
        .udelay         = 5,
-       /* Wait up to 50 ms for slave to let us pull SCL high */
+       /* Wait up to 50 ms for target to let us pull SCL high */
        .timeout        = DIV_ROUND_UP(HZ, 20),
 };