2021-04-28 08:31:13

by Shubhankar Kuranagatti

[permalink] [raw]
Subject: [PATCH] drivers: ssb: driver_gpio.c: Fix alignment of comment

The closing */ has been shifted to a new line
This is done to maintain code uniformity.

Signed-off-by: Shubhankar Kuranagatti <[email protected]>
---
drivers/ssb/driver_gpio.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/drivers/ssb/driver_gpio.c b/drivers/ssb/driver_gpio.c
index 66a76fd83248..2de3896489c8 100644
--- a/drivers/ssb/driver_gpio.c
+++ b/drivers/ssb/driver_gpio.c
@@ -231,7 +231,8 @@ static int ssb_gpio_chipco_init(struct ssb_bus *bus)
chip->ngpio = 16;
/* There is just one SoC in one device and its GPIO addresses should be
* deterministic to address them more easily. The other buses could get
- * a random base number. */
+ * a random base number.
+ */
if (bus->bustype == SSB_BUSTYPE_SSB)
chip->base = 0;
else
@@ -424,7 +425,8 @@ static int ssb_gpio_extif_init(struct ssb_bus *bus)
chip->ngpio = 5;
/* There is just one SoC in one device and its GPIO addresses should be
* deterministic to address them more easily. The other buses could get
- * a random base number. */
+ * a random base number.
+ */
if (bus->bustype == SSB_BUSTYPE_SSB)
chip->base = 0;
else
--
2.17.1


2021-04-28 15:20:22

by Michael Büsch

[permalink] [raw]
Subject: Re: [PATCH] drivers: ssb: driver_gpio.c: Fix alignment of comment

On Wed, 28 Apr 2021 14:00:20 +0530
Shubhankar Kuranagatti <[email protected]> wrote:

> The closing */ has been shifted to a new line
> This is done to maintain code uniformity.
>
> Signed-off-by: Shubhankar Kuranagatti <[email protected]>


Acked-by: Michael Büsch <[email protected]>


--
Michael


Attachments:
(No filename) (849.00 B)
OpenPGP digital signature