[PATCH 3/4] gpio: gpio-msic.c: fixed coding style issues

From: Abanoub Sameh
Date: Tue Jul 21 2020 - 10:50:53 EST


Added a lined between declarations and other statements according to the
kenel coding style.

Signed-off-by: Abanoub Sameh <abanoubsameh@xxxxxxxxxxxxxx>
---
drivers/gpio/gpio-msic.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/drivers/gpio/gpio-msic.c b/drivers/gpio/gpio-msic.c
index 0bef1a5a9b70..84e00e0ab953 100644
--- a/drivers/gpio/gpio-msic.c
+++ b/drivers/gpio/gpio-msic.c
@@ -166,12 +166,14 @@ static int msic_irq_type(struct irq_data *data, unsigned int type)
static int msic_gpio_to_irq(struct gpio_chip *chip, unsigned int offset)
{
struct msic_gpio *mg = gpiochip_get_data(chip);
+
return mg->irq_base + offset;
}

static void msic_bus_lock(struct irq_data *data)
{
struct msic_gpio *mg = irq_data_get_irq_chip_data(data);
+
mutex_lock(&mg->buslock);
}

--
2.28.0.rc0