All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1] i2c: mux: pca954x: Fix trivia typo: busses -> buses
@ 2020-08-20 15:27 Andy Shevchenko
  2020-08-20 20:02 ` Peter Rosin
  0 siblings, 1 reply; 3+ messages in thread
From: Andy Shevchenko @ 2020-08-20 15:27 UTC (permalink / raw)
  To: Peter Rosin, linux-i2c, Biwen Li, Wolfram Sang; +Cc: Andy Shevchenko

Fix trivia typo: busses -> buses. While at it, rearrange LOCs
for better readability.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/i2c/muxes/i2c-mux-pca954x.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/i2c/muxes/i2c-mux-pca954x.c b/drivers/i2c/muxes/i2c-mux-pca954x.c
index 4ad665757dd8..dbf98d0aa656 100644
--- a/drivers/i2c/muxes/i2c-mux-pca954x.c
+++ b/drivers/i2c/muxes/i2c-mux-pca954x.c
@@ -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;
 
-- 
2.28.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v1] i2c: mux: pca954x: Fix trivia typo: busses -> buses
  2020-08-20 15:27 [PATCH v1] i2c: mux: pca954x: Fix trivia typo: busses -> buses Andy Shevchenko
@ 2020-08-20 20:02 ` Peter Rosin
  2020-08-25  7:18   ` Wolfram Sang
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Rosin @ 2020-08-20 20:02 UTC (permalink / raw)
  To: Andy Shevchenko, linux-i2c, Biwen Li, Wolfram Sang


On 2020-08-20 17:27, Andy Shevchenko wrote:
> 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

> for better readability.
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
>  drivers/i2c/muxes/i2c-mux-pca954x.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/i2c/muxes/i2c-mux-pca954x.c b/drivers/i2c/muxes/i2c-mux-pca954x.c
> index 4ad665757dd8..dbf98d0aa656 100644
> --- a/drivers/i2c/muxes/i2c-mux-pca954x.c
> +++ b/drivers/i2c/muxes/i2c-mux-pca954x.c
> @@ -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;
>  
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v1] i2c: mux: pca954x: Fix trivia typo: busses -> buses
  2020-08-20 20:02 ` Peter Rosin
@ 2020-08-25  7:18   ` Wolfram Sang
  0 siblings, 0 replies; 3+ messages in thread
From: Wolfram Sang @ 2020-08-25  7:18 UTC (permalink / raw)
  To: Peter Rosin; +Cc: Andy Shevchenko, linux-i2c, Biwen Li

[-- Attachment #1: Type: text/plain, Size: 614 bytes --]

On Thu, Aug 20, 2020 at 10:02:04PM +0200, Peter Rosin wrote:
> 
> On 2020-08-20 17:27, Andy Shevchenko wrote:
> > 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.


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-08-25  7:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-20 15:27 [PATCH v1] i2c: mux: pca954x: Fix trivia typo: busses -> buses Andy Shevchenko
2020-08-20 20:02 ` Peter Rosin
2020-08-25  7:18   ` Wolfram Sang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.