Messages in this thread Patch in this message | | | From | Abanoub Sameh <> | Subject | [PATCH 3/4] gpio: gpio-msic.c: fixed coding style issues | Date | Tue, 21 Jul 2020 16:50:26 +0200 |
| |
Added a lined between declarations and other statements according to the kenel coding style.
Signed-off-by: Abanoub Sameh <abanoubsameh@protonmail.com> --- 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
| |