Message ID | 20171127104854.333-11-brgl@bgdev.pl |
---|---|
State | New |
Headers | show
Return-Path: <linux-gpio-owner@vger.kernel.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-gpio-owner@vger.kernel.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=bgdev-pl.20150623.gappssmtp.com header.i=@bgdev-pl.20150623.gappssmtp.com header.b="0dvkx0MB"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3ylkLl5kW3z9rxl for <incoming@patchwork.ozlabs.org>; Mon, 27 Nov 2017 21:58:55 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752477AbdK0K6y (ORCPT <rfc822;incoming@patchwork.ozlabs.org>); Mon, 27 Nov 2017 05:58:54 -0500 Received: from mail-wr0-f195.google.com ([209.85.128.195]:38525 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752234AbdK0KtU (ORCPT <rfc822; linux-gpio@vger.kernel.org>); Mon, 27 Nov 2017 05:49:20 -0500 Received: by mail-wr0-f195.google.com with SMTP id z75so24573613wrc.5 for <linux-gpio@vger.kernel.org>; Mon, 27 Nov 2017 02:49:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=44OnAYv0eNHjUf8hUMY2rt/s9qfky5j3y3jLEZ641DA=; b=0dvkx0MBCrmtsz2f/CQ5LRLGhICI6CeCOHI/AY/7OXXN57yVpHF/RXyQzq9kMR7v0I sF9KpUb8Aw2TUbGfJdI14OE96nZRurFDXy+JILqRdb0wOr9gFfnppNn26HDUesmI7FsH qAiuA63boVXgl/01JxSnAMqmXFXpNBN7fh3HYQ41dTZn0GlZkn8Jdo9hqg04ffh1zLwc PoJrUKa/qW+nMfrGiZwGdSrljubWG5AlMQy5ZcQ+/eCO9cCstCyLs2QrjNtZ5hPUT37z j4ZsN6QKbDvPJKuhn3DJvEo507d5pL0ghanuckaEKouOVvQ+fH+3/ZljXdqptMbcDKRZ iCmQ== 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; bh=44OnAYv0eNHjUf8hUMY2rt/s9qfky5j3y3jLEZ641DA=; b=f7uLRSMa7RUI20mUL2aMO9AfpLdY/0X1aAHHgGZhntnRBmxPbqXjhgG5SdX1qTh5YT D1QUpLZ1AjfTJXqypttlf4LyXZDMEI/TUvUGAKWMj/eu1P/aDfVfcVYdvGz0sc4//JmW Ph1WXNXVeklr7Fb7GoqbynM0vdCa+PYeNiHI5L6sq00NnuWupOMxmadSnclO+ZfmlW7J 0gr4LgqXU71k3Ytad9Ez/qp4sUcGipE5w3nnwSjdPDjZ8lEn2RRMptVT7DEmhs9Yr9uY SaaUnVtlBj78SPEk5ilBNdEzPJhmNyM7XQZRpmArZrTQQr1w/qWsgRZiVvUp/BgsrXng 5V9w== X-Gm-Message-State: AJaThX41rklCKtX5cCU8qnP/1Fr8EYWIxX5p6zWfN3rgNzJtFTVFtODn ZjFl4vf9uTGcFg1NU4uY/FQpEwPSz5U= X-Google-Smtp-Source: AGs4zMZ9fO0QUR75P+1KXm/w+bHL8qVbpcARfv7tgb74U53VumARmopQhQvwzUzvSzzkTDG8KihOTQ== X-Received: by 10.223.138.246 with SMTP id z51mr31646166wrz.152.1511779759117; Mon, 27 Nov 2017 02:49:19 -0800 (PST) Received: from bgdev-debian.local ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id 68sm21071741wmh.2.2017.11.27.02.49.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Nov 2017 02:49:18 -0800 (PST) From: Bartosz Golaszewski <brgl@bgdev.pl> To: Linus Walleij <linus.walleij@linaro.org>, Bamvor Jian Zhang <bamvor.zhangjian@linaro.org> Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski <brgl@bgdev.pl> Subject: [PATCH 10/18] gpio: mockup: change the type of value field in line state struct Date: Mon, 27 Nov 2017 11:48:46 +0100 Message-Id: <20171127104854.333-11-brgl@bgdev.pl> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20171127104854.333-1-brgl@bgdev.pl> References: <20171127104854.333-1-brgl@bgdev.pl> Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: <linux-gpio.vger.kernel.org> X-Mailing-List: linux-gpio@vger.kernel.org |
Series |
gpio: mockup: updates for v4.16
|
expand
|
diff --git a/drivers/gpio/gpio-mockup.c b/drivers/gpio/gpio-mockup.c index 9a880e15ea0b..8a61328a255d 100644 --- a/drivers/gpio/gpio-mockup.c +++ b/drivers/gpio/gpio-mockup.c @@ -48,7 +48,7 @@ enum { */ struct gpio_mockup_line_status { int dir; - bool value; + int value; }; struct gpio_mockup_chip {
GPIO values are universally represented as integers. Change the type of the variable storing the current line value to int for consistency. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> --- drivers/gpio/gpio-mockup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)