Message ID | 20180422230742.3729-9-linus.walleij@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp368301lji; Sun, 22 Apr 2018 16:10:21 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+UqFQEK4XQKbeKV2ne+IBHcx5e2r7opBaSN0K7odGj5AYt6YJBz8NMv0dCDAe72+Qki0EV X-Received: by 10.98.11.144 with SMTP id 16mr17827575pfl.228.1524438621726; Sun, 22 Apr 2018 16:10:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524438621; cv=none; d=google.com; s=arc-20160816; b=dgKR5UP+SFUnp3PDcysPJAdbBW0G1UYeeAdQsL9Zov+ybDTUOc5wB49jp7871gV8GA uOYasIQBLVTHWTWAVLBWxadZywU+k22GX9fqQtj/t7zC8/KdY6YUi7J/JRxH9cf6ESj9 mEqmfVojryCppwb6+UHKwnMudselOEV4FGIAGLx578JWOdz3io/6+R0V6f7jfgVC0eOa s98Nd8CLWjdW01JEYKQQynONpff5TT/Cl2nfVkc9fKTfBocB4bPgWmt3yv0tkeXztffh fark7YCvWnkNqf3ijVgfvKdWEf0oUqAd5OnneDfJP13c1wE9TdA1JFGhSoiyxnZwYIiC JAWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=nqpo6sX0t8t7ihlPS/9UTfM9SxmT7RqdKY9o7uxx9gE=; b=SYAKXt0ozoaf8XBEFw0JyFBaKX9iiC5tBsSdiHmbn9qIETWNH1MiJSbt4oEhMbzuqY 8QWHPy4L354I6atVFeTaseg5g5erCA3qXxM2t4p293BZQL81F0hBBuxJuq65dOuTud23 4VEDOU1oho7zR1joBdtLxTtKs1CxHqZk2ENkFCfUwY3mxyyyHwp6eASezCH7FGkAXgYa p9yRlMVpAV9ZhLGSA4dKoGnB++zKiBIT2VbADFLQTpG93TCnY/ytUY3PutZ2X1iXh3PV eztlD0NDW/QffSKTdc0E4dDgVLuM9EMBPXefbWXdKQPoXeu8Y5xm/YJRUVfXYxOYo9SA Wl5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Rk3y/rOj; 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=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o11si8856604pgc.274.2018.04.22.16.10.21; Sun, 22 Apr 2018 16:10:21 -0700 (PDT) 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=@linaro.org header.s=google header.b=Rk3y/rOj; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753895AbeDVXKS (ORCPT <rfc822;ramon.fried@linaro.org> + 29 others); Sun, 22 Apr 2018 19:10:18 -0400 Received: from mail-lf0-f65.google.com ([209.85.215.65]:36814 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753847AbeDVXKM (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 22 Apr 2018 19:10:12 -0400 Received: by mail-lf0-f65.google.com with SMTP id d20-v6so12235058lfe.3 for <linux-kernel@vger.kernel.org>; Sun, 22 Apr 2018 16:10:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=nqpo6sX0t8t7ihlPS/9UTfM9SxmT7RqdKY9o7uxx9gE=; b=Rk3y/rOjwur19w7Rd757YdKsfFBRqnksKUwhZ5jv9RvtV7m+pdfFejbdqZ2iTAwFlx ryRTFZhCI+lKyw6/FwjxjmybQoA0y20qUs08J5A4w9YTAIu7N+PWrGh44KQZePlfusip 0lnGQks7ALoaCUWKl9iERnlgPqTCFQ8UOmpfg= 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=nqpo6sX0t8t7ihlPS/9UTfM9SxmT7RqdKY9o7uxx9gE=; b=eU1ryAQaLt4LGDHXpqm52bx/cH18rXvhcsu4HkjwPU63Yl5ezMdSHO+S2LoN8/us2/ 7zq3TaMxDIqlXyoEARmf62oXf/Ia45VF0Jz264+cCNDsTBBNG4QdIlGHZfUu2wTAlhlk QrtKZvquOqUWWJTGXtGDY+Z3muTv8jlF0WEcKcD3kXG8HKDGj6+Tom7dBsenoSujuTE4 WK/6YyxpJb9UuO4UicWYaicM6KkLsKQ+SY9pwotPUIj01C6OIyJZUJ8JxylSD29yEHEP qX9iMFnsb3meR0YpVvA9JBVPZ2MjUj+J+I+ieSdjkCUEcjEK/AMZHPBflmmb7TvR2uzp QtYA== X-Gm-Message-State: ALQs6tDrRtUjFyYrHQySTnG4V8ZyQXMSgbWIwNddNE3mdinJyxMBsBw8 dMCJdxbMLG3kYhrCSxkoWCl5SQ== X-Received: by 10.46.144.3 with SMTP id h3mr11576568ljg.37.1524438611435; Sun, 22 Apr 2018 16:10:11 -0700 (PDT) Received: from localhost.localdomain (c-ae7b71d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.123.174]) by smtp.gmail.com with ESMTPSA id r25sm2036291ljc.8.2018.04.22.16.10.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 22 Apr 2018 16:10:10 -0700 (PDT) From: Linus Walleij <linus.walleij@linaro.org> To: Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org> Cc: linux-kernel@vger.kernel.org, Linus Walleij <linus.walleij@linaro.org> Subject: [PATCH 09/18 v2] regulator: pfuze100: Delete reference to ena_gpio Date: Mon, 23 Apr 2018 01:07:33 +0200 Message-Id: <20180422230742.3729-9-linus.walleij@linaro.org> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180422230742.3729-1-linus.walleij@linaro.org> References: <20180422230742.3729-1-linus.walleij@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
[01/18,v2] regulator: fixed: Convert to use GPIO descriptor only
|
expand
|
diff --git a/drivers/regulator/pfuze100-regulator.c b/drivers/regulator/pfuze100-regulator.c index 63922a2167e5..f341d9614a77 100644 --- a/drivers/regulator/pfuze100-regulator.c +++ b/drivers/regulator/pfuze100-regulator.c @@ -648,7 +648,6 @@ static int pfuze100_regulator_probe(struct i2c_client *client, config.init_data = init_data; config.driver_data = pfuze_chip; config.of_node = match_of_node(i); - config.ena_gpio = -EINVAL; pfuze_chip->regulators[i] = devm_regulator_register(&client->dev, desc, &config);
We now pass a GPIO descriptor to the core instead of a global GPIO number, if this descriptor is NULL the GPIO line is not used. Just delete the assignment of an invalid GPIO line. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> --- ChangeLog v1->v2: - Rebase the patch on the other changes. --- drivers/regulator/pfuze100-regulator.c | 1 - 1 file changed, 1 deletion(-) -- 2.14.3