2021-04-28 16:08:33

by Shubhankar Kuranagatti

[permalink] [raw]
Subject: [PATCH v2] 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.

Acked-by: Michael B?sch <[email protected]>
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-06-15 10:10:21

by Kalle Valo

[permalink] [raw]
Subject: Re: [v2] ssb: gpio: Fix alignment of comment

Shubhankar Kuranagatti <[email protected]> wrote:

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

Patch applied to wireless-drivers-next.git, thanks.

5615eb58b238 ssb: gpio: Fix alignment of comment

--
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches