Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932811Ab3ICKkQ (ORCPT ); Tue, 3 Sep 2013 06:40:16 -0400 Received: from mail-bk0-f46.google.com ([209.85.214.46]:47158 "EHLO mail-bk0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932781Ab3ICKkN (ORCPT ); Tue, 3 Sep 2013 06:40:13 -0400 From: Thierry Reding To: Linus Walleij Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] gpio: Use proper indentation Date: Tue, 3 Sep 2013 12:39:28 +0200 Message-Id: <1378204768-18013-2-git-send-email-treding@nvidia.com> X-Mailer: git-send-email 1.8.4 In-Reply-To: <1378204768-18013-1-git-send-email-treding@nvidia.com> References: <1378204768-18013-1-git-send-email-treding@nvidia.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1783 Lines: 61 Indentation should be done using tabs, not a combination of tabs and spaces. Signed-off-by: Thierry Reding --- Linus, Feel free to squash this into the commit that introduced these: fc9bbfb: gpio: improve error path in gpiolib Thierry drivers/gpio/gpiolib.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c index 9f8a134..b762718 100644 --- a/drivers/gpio/gpiolib.c +++ b/drivers/gpio/gpiolib.c @@ -1636,8 +1636,8 @@ static int gpiod_direction_input(struct gpio_desc *desc) chip = desc->chip; if (!chip->get || !chip->direction_input) { - pr_warn("%s: missing get() or direction_input() operations\n", - __func__); + pr_warn("%s: missing get() or direction_input() operations\n", + __func__); return -EIO; } @@ -1709,8 +1709,8 @@ static int gpiod_direction_output(struct gpio_desc *desc, int value) chip = desc->chip; if (!chip->set || !chip->direction_output) { - pr_warn("%s: missing set() or direction_output() operations\n", - __func__); + pr_warn("%s: missing set() or direction_output() operations\n", + __func__); return -EIO; } @@ -1779,8 +1779,8 @@ static int gpiod_set_debounce(struct gpio_desc *desc, unsigned debounce) chip = desc->chip; if (!chip->set || !chip->set_debounce) { - pr_warn("%s: missing set() or set_debounce() operations\n", - __func__); + pr_warn("%s: missing set() or set_debounce() operations\n", + __func__); return -EIO; } -- 1.8.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/