Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2428556ybl; Mon, 20 Jan 2020 02:48:09 -0800 (PST) X-Google-Smtp-Source: APXvYqxVA9a21Q7y0lvO2FCy1aiQL5xhB4hoifBEDiZcAswda299oiRPVOCbTsfTuzXMB8Ig7tJD X-Received: by 2002:a9d:d06:: with SMTP id 6mr12860641oti.176.1579517289156; Mon, 20 Jan 2020 02:48:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579517289; cv=none; d=google.com; s=arc-20160816; b=fvtsrDx/XmwHBJGz2P9aNoKAJAIHPJsrGW13pmUJfP4P3Y/KzLcVnhk84L7U8m1VFr xV7v4dHOkQOIcGuRXQ0LCO332wBPpuuk8wuJDGMHYyDehFDeTRTFfnRfSOgtcIZtIvPj wrgGe/hJkEh7fVMVEXnQbh28UqqbZXYC9RH/gXk6QKoAG5s/K+9DskjJDQ1YI/byTtpD neNnmSjY/tKi+jdfkJ0T5Du063Ntfc68eDdJPMpftv0CLxKadOIKRdPRq/y6Q2l2k8Ou 93zs9tkDn1Lloh4wHSkNQEivz3XkoijNiTJ43E7gVWMgZ7Hi+lFIBOg9IfP+1D8rRicA G3wA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=JKQd08QDFRtvTj1ZwdqX1fz4cEVtWxEffFD2wFMazAQ=; b=nNF+TksIm06Sx2EV18KiDZyr4uUfQRaokjep9pO1yxTuswuvPl0VT8sNA+wAByVyGb iP7RxrEVb4FCfC8FKvEmpw7Pyz/HGC4p0BWa1gTxODkrwad7u8pWnATsYQPLYCydrF8K JraBSkB7XQ9DV+ZPDGaOVwyKXHo8eTW0bA8iQjcij+gksQuMx28c6CfQTTx0ZUKYddqN pRpsKC4/5pehbiw1GlYJFHQoCxhB1CMlhwHAfbhDVmLXs6+zdfip5lJBZP8m3E66CgJc TT1vcjFCkoG/vgl0A2FX2ZyU1/dUyut2l9ZjTsKg7mfudqjMnPAH4IYxfvv4UMD3lnP9 2S7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VBmmPkLl; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id r1si20106581otq.298.2020.01.20.02.47.55; Mon, 20 Jan 2020 02:48:09 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VBmmPkLl; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1726621AbgATKqx (ORCPT + 99 others); Mon, 20 Jan 2020 05:46:53 -0500 Received: from mail-pj1-f67.google.com ([209.85.216.67]:35469 "EHLO mail-pj1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726148AbgATKqx (ORCPT ); Mon, 20 Jan 2020 05:46:53 -0500 Received: by mail-pj1-f67.google.com with SMTP id s7so7000116pjc.0; Mon, 20 Jan 2020 02:46:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=JKQd08QDFRtvTj1ZwdqX1fz4cEVtWxEffFD2wFMazAQ=; b=VBmmPkLlsDnv1RuzEOTwTbhpAtnQ18ML5ejXF7Ua4r204fKO6OK871CoKSb2R/KvFJ vyy9OIe9n+KWIvvbIpgD1SDKiF9FCfbYWm48ElhtzDt+5N0JNQfUMiHIp0B+SewJ/WnQ aDOZsC2nhtcqQm6olu00E+Rv3YaJMKAkjNkTdaVCxZIIcGtviCs5dRqmj+J9A49Cjo1U 8+O+o/zQX7r9Q46YJ++nkTNlglZEmZVqfi4HrK2OC8zoZe0YVv8fYoPFJMi/ZtwHFxjH Y8JZ1T/a8lQ3ogFI826bd3rQPE2DGcMfoXidEicEDYwBUOWArxnwFgZ1V4AkqNLbJhmX P6+Q== 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:mime-version :content-transfer-encoding; bh=JKQd08QDFRtvTj1ZwdqX1fz4cEVtWxEffFD2wFMazAQ=; b=FrjiKsuLNxc0g04+Ox9DOkyg50dIxFfqKSPzf1Q9sGMz5lnoZPT5RmF/bqgAJrDISI SlwgfbADTnFlsiIge05qIcVdG1QF7eGVdy5Sl3NTeSgl0LuVMyLgdOMrKddKh9IW8bO/ 9xiBxC7kneL36hf7jDP88oc1XQKUcbCoZoKQ1+IVMjNedUsG81JxrNhMqbN3jasnG/C6 nOYLMro3jcAHgwlzQGXyxAxYC+MunvSrLxU2S0pqzT15vqJRs2/AahzE3C/nIYeEDPP7 nAtZDxVM8TPWx2YiXcya3R9llTxOL+Dw3IZOnIEmsJMkGfx/eyIcwwi+t2Zq1/1uTJuo pfMw== X-Gm-Message-State: APjAAAX1Ibk9XrR9FALyTUvZLhmdQAVUxXiw7+KknXKeR3LWDQoHZdnO n2Dx0+cGUd/07urf1z8EyglpG133 X-Received: by 2002:a17:902:26a:: with SMTP id 97mr13945149plc.74.1579517212463; Mon, 20 Jan 2020 02:46:52 -0800 (PST) Received: from sol.lan (220-235-85-249.dyn.iinet.net.au. [220.235.85.249]) by smtp.gmail.com with ESMTPSA id d14sm40564927pfq.117.2020.01.20.02.46.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jan 2020 02:46:51 -0800 (PST) From: Kent Gibson To: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, bgolaszewski@baylibre.com, linus.walleij@linaro.org Cc: Kent Gibson Subject: [PATCH] gpiolib: remove unnecessary argument from set_config call Date: Mon, 20 Jan 2020 18:46:26 +0800 Message-Id: <20200120104626.30518-1-warthog618@gmail.com> X-Mailer: git-send-email 2.24.1 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 Remove unnecessary argument when setting PIN_CONFIG_BIAS_DISABLE. Fixes: 2148ad7790ea ("gpiolib: add support for disabling line bias") Signed-off-by: Kent Gibson --- No argument is expected by pinctrl, so removing it should be harmless. drivers/gpio/gpiolib.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c index 78a16e42f222..93d12fc9f82d 100644 --- a/drivers/gpio/gpiolib.c +++ b/drivers/gpio/gpiolib.c @@ -3057,7 +3057,6 @@ static int gpio_set_config(struct gpio_chip *gc, unsigned offset, unsigned arg; switch (mode) { - case PIN_CONFIG_BIAS_DISABLE: case PIN_CONFIG_BIAS_PULL_DOWN: case PIN_CONFIG_BIAS_PULL_UP: arg = 1; -- 2.24.1