i2c: mux: pca954x: Fix trivia typo: busses -> buses
Subsystems (2)
PATCH 1/1 i2c: mux: pca954x: Fix trivia typo: busses -> buses
Fix trivia typo: busses -> buses. While at it, rearrange LOCs for better readability.
--- drivers/i2c/muxes/i2c-mux-pca954x.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/i2c/muxes/i2c-mux-pca954x.c +3 -3
@@ -510,9 +510,9 @@ static int pca954x_probe(struct i2c_client *client,*/ device_create_file (dev, &dev_attr_idle_state); -dev_info (dev,"registered %d multiplexed busses for I2C %s %s\n" , - num, data->chip->muxtype == pca954x_ismux - ?"mux" :"switch" , client->name); +dev_info (dev,"registered %d multiplexed buses for I2C %s %s\n" , + num, data->chip->muxtype == pca954x_ismux ?"mux" :"switch" , + client->name);return 0 ;
Signature · 1 line
2.28.0
Quoted 1 line · Andy Shevchenko
Fix trivia typo: busses -> buses. While at it, rearrange LOCs
I don't think it's a typo at all, it's just an old spelling. Not worth it if you ask me, but then again, I'm not a native speaker. Anyway, unless I get more input my call is to change this whenever drivers/i2c/busses/ is renamed...
Cheers,
Peter
Quoted 25 lines
for better readability.
Signed-off-by Andy Shevchenko <[email protected]>--- drivers/i2c/muxes/i2c-mux-pca954x.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)drivers/i2c/muxes/i2c-mux-pca954x.c +3
-3@@ -510,9 +510,9 @@ static int pca954x_probe(struct i2c_client *client,*/ device_create_file (dev, &dev_attr_idle_state); -dev_info (dev,"registered %d multiplexed busses for I2C %s %s\n" , - num, data->chip->muxtype == pca954x_ismux - ?"mux" :"switch" , client->name); +dev_info (dev,"registered %d multiplexed buses for I2C %s %s\n" , + num, data->chip->muxtype == pca954x_ismux ?"mux" :"switch" , + client->name);return 0 ;
Quoted 8 lines · Peter Rosin
Quoted 1 line · Andy Shevchenko
Fix trivia typo: busses -> buses. While at it, rearrange LOCs
I don't think it's a typo at all, it's just an old spelling. Not worth it if you ask me, but then again, I'm not a native speaker. Anyway, unless I get more input my call is to change this whenever
drivers/i2c/busses/is renamed...
I follow Peter's reasoning, especially with the directory name. From the Kernel top dir:
$ git grep busses | wc -l 653 $ git grep buses | wc -l 867
Not a typo in my book.