Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp782855ybh; Tue, 21 Jul 2020 07:52:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxULxnIFWRuL/RI3lX5h4OrDUYvdQ5er5t7MrVUtJVbRm4XyNB3jQDLW6diL6s6SlTwTOBg X-Received: by 2002:a05:6402:203c:: with SMTP id ay28mr27026626edb.271.1595343135419; Tue, 21 Jul 2020 07:52:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595343135; cv=none; d=google.com; s=arc-20160816; b=mP3V39ibppZuwtKmGWxhD7WV1wnW7AzJBI+xG3OOZI3wHJ28QJTbnZ40MekOTHbgeM dBPTiEDHEuykU4/2eoLehk2b2KkbemjPj3CBF+e1HVuqZOyKIUa5xeNeWXvw14j4E2tQ UFiFPDzjWL3Eu2nhA3W9/2tD5ZJDKZErThxXjdACLe7EYHKFRA94SEhwO7jt7c8GZVWj 3L16rURWaaMRneIpJAq2B3e0NHzCCH6sOS3GAlVFc7hPFyWkh8mocNrLROBup8bzk2y/ bu9tW8Pc72jNnK9cwqZWPhAgh4CwlmWlAm5JUm88VrZYzzyboiDGsgcFGPzjC/Y4EFPq CSTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=wjTgQI+41EvFAwx0NyOwWkTwxupqkoNnMMp/Owe0Gtc=; b=MTrIruXMSBZNCMlkgZ1Wei+tnFqa4lgxEAirwnQwSBTajL/JfwZY79KAQiqeW+LPmk G38d37VzBU/BL1EWCyZk6ortAfaAH5IwlqGbqV62fsfKMLGXqKBZ0TXdtkcAF/lt2yt0 qs3NKs8H7TjznHcnrWNc63pdj+jSzHAdPaaq24XWPHj6zCMS11wBMaPgq7xFbuFcWa95 YkyyZaKlSzWpB0ali8t8Cuf+McsHwlR15GscdkQEKeJzNJ3yC7B4+SZ6VBKoKAA4z9Pr chyfuwxxJWJvfz/Xey4mEm6CwnqmUsei6+Y8UQViTBjldlCl6Odqal97QpSDaH7fe6MR T35Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OzBO5Vr4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id yj19si12420069ejb.410.2020.07.21.07.51.52; Tue, 21 Jul 2020 07:52:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OzBO5Vr4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729945AbgGUOuv (ORCPT + 99 others); Tue, 21 Jul 2020 10:50:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728064AbgGUOus (ORCPT ); Tue, 21 Jul 2020 10:50:48 -0400 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 807AAC061794; Tue, 21 Jul 2020 07:50:48 -0700 (PDT) Received: by mail-wm1-x342.google.com with SMTP id f139so3154128wmf.5; Tue, 21 Jul 2020 07:50:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=wjTgQI+41EvFAwx0NyOwWkTwxupqkoNnMMp/Owe0Gtc=; b=OzBO5Vr4Hy68lnPjQ94xutNXTOKyNEI53yTxtB0gJa1j7pjQSvIU/qRv1/YI3UqagB D5M3xd8xXiSVD/QPfvB73JQ5gQ6PP40UtbRy1X02uu5kyld0rkmVjs2yUkGPemg+kOlD gLV3wn/6MAU6azFbKwm10yzWg5mNwj07JG9TmSdGeSJLnx7vxQelJefhvkJITRMlb6Fo /N0eH8MX5Ao6ZLwWk6RAVdqUwIUg/KSiqfcjj/2VW6TT2Vh/AKNevcmY4oBT7rQoh//H LrBdjQXiphUjiUaNEdHUqpqAQz19uKfLkoM60T10ffPSusGUOzbmf5kDJlcazjZ9z049 QcLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=wjTgQI+41EvFAwx0NyOwWkTwxupqkoNnMMp/Owe0Gtc=; b=O3ZeT1i/AWJR9fL9I1drKKfMmuCZsWwPRh5CZOgQ9NYQGBlFhgBBkCsE9JDyJefZDB V9LJyl3EfI3N9BnVgngXkawaBvOOoDmuDDmVEuH/q5S43iu+3BTmFU22CEfXEYgUhA0K jGBXlWWHL+L1sLf/gM6WqatAJ8dEAD0UQWoEdGAAVGvAIPKnDhd7xSzyd+4N7az6x0fS TmCyHRJAt11o6lIVjiHVDxr6FyWo6TEXMtybpsLf95b9f5fib/yIz+VrUM617iwY/TWG nct2AsNxiFRJgyqdpGQ2pq6+RqFjZuKmauaGYjxAlyZ8WfivPOAAYdGE+y3/99RorJU/ 1Ocw== X-Gm-Message-State: AOAM5334Cf2z0yc4lsHeHb5FRL2APg0cXppn1PnurCceHZMgrIwNmKFt 5lMvefnzgZRV6mFTz3V761U= X-Received: by 2002:a1c:5f41:: with SMTP id t62mr4318341wmb.53.1595343047215; Tue, 21 Jul 2020 07:50:47 -0700 (PDT) Received: from localhost ([156.204.74.63]) by smtp.gmail.com with ESMTPSA id 26sm3478799wmj.25.2020.07.21.07.50.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jul 2020 07:50:46 -0700 (PDT) From: Abanoub Sameh X-Google-Original-From: Abanoub Sameh To: andy.shevchenko@gmail.com Cc: linus.walleij@linaro.org, bgolaszewski@baylibre.com, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Abanoub Sameh Subject: [PATCH 3/4] gpio: gpio-msic.c: fixed coding style issues Date: Tue, 21 Jul 2020 16:50:26 +0200 Message-Id: <20200721145027.770268-3-abanoubsameh@protonmail.com> X-Mailer: git-send-email 2.28.0.rc0 In-Reply-To: <20200721145027.770268-1-abanoubsameh@protonmail.com> References: <20200721145027.770268-1-abanoubsameh@protonmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Added a lined between declarations and other statements according to the kenel coding style. Signed-off-by: Abanoub Sameh --- 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