Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5615976imm; Tue, 18 Sep 2018 12:27:14 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbqXEKJcJiOf/+iyv+9MCG266AtyvclpS76M9Wz6Z9bGP5xQGdxQf1W4oFxbvF3SHLuxXoO X-Received: by 2002:a63:9dcd:: with SMTP id i196-v6mr29505965pgd.238.1537298834379; Tue, 18 Sep 2018 12:27:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537298834; cv=none; d=google.com; s=arc-20160816; b=X/6SRf9wIcx2YDfeosG27tZNJ2RjA+akeMk/otRhPE+ijiIVzdLXBdqSR8zynuRZtm chKWVqVDZAo9JFi2FywhkvUvUM6uLAUiYqPnFyBKmf19I7y9HcF0uLDVg8NsFTd7hojj WNQO5DVNUwyKe6zUe1mPFqAR3VUZmSR5z05wM1l6rogicbzcTDRQuGWsFtr7buI8TR45 3Q2BIL5meK6sOK5/phbtBV/ZjBQpmXux3oMcyM6+o0zAorvmTUbLQPxXwKXGAEiqyVJ8 JNSmTcPaDCedoCMyBtWur3kL/aRPHIE/V2pfM8UiODV9F6rMwisqQHpTx/2yxzzrBh9N +3PA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=LFfOPiT8oqrY99jPC3JOO34Vv94EwjCqtI8GqjM+GVk=; b=dP0nBV8uWjEkxNi9spj1co1ZLlAzvo6+wjdE0/Jgn2Fv71FeI4ecvduoLnIOq/Vv5f 47HyYS9AUU2l/Z5bwEF1VTrM4TJsdcDI64CxCj3GxlB7Nm5BteDUMJN+O7K+/ljsoKdm 7DaoTjj4lWGJJvtqj3n8KMssy9eoAauCIi9Z47gxKsD2pXAWyXDmAo0CadSBvwiIyXHG jMa2AVns+NFwboLdZ6C2df3Ml9qFY+QUWm5xmPPDn7J7RelcnTSXu7MrBDDDhENb88ej n3KaCs0cGEjN+yVFNelTf3QskEMqsoB6A7HwS9x/TehdDLRPGedWe9QAqdF4JOvsM1lC g7gA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=F2yEJUyr; 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: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p6-v6si19413401pfh.266.2018.09.18.12.26.57; Tue, 18 Sep 2018 12:27:14 -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=F2yEJUyr; 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 S1729955AbeISBAx (ORCPT + 99 others); Tue, 18 Sep 2018 21:00:53 -0400 Received: from mail-it0-f65.google.com ([209.85.214.65]:51746 "EHLO mail-it0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727660AbeISBAx (ORCPT ); Tue, 18 Sep 2018 21:00:53 -0400 Received: by mail-it0-f65.google.com with SMTP id e14-v6so4976531itf.1 for ; Tue, 18 Sep 2018 12:26:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LFfOPiT8oqrY99jPC3JOO34Vv94EwjCqtI8GqjM+GVk=; b=F2yEJUyr5HHdX5ZVu9C7FClIzCeAjgUnS/8256CZMydbX0tm9CADfDNQGUoNhVt2N3 jY4GDWehfQCNmIyPWxK5S1UZQRj4/xqDWuBh5mzzyo7XsiTnttLVm512mDSp/eG9AMW1 +WP4Ct8YuMLeLjVKfv1cLBTll0ZkUhZrNi1RQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=LFfOPiT8oqrY99jPC3JOO34Vv94EwjCqtI8GqjM+GVk=; b=SgAIJLFKqFYmwvasfpoJEg3gQVQjLh6efwDAbjU5/vGElzwo8vhFFLXXjhNjZcjaPN vKZk8bHT2L9Lp/XxPSvx319RBKz3DM0NKphJSZgP+Vd2Gg6wIJWNjgVFxrmUBD1gbi3D wPoU0Iu6QbJKuaDznm4kOC4RHjGMC0N8civXSCg1gmvYaD7FDoTEvcmpKsICHsulJ6iO PBkd9i0A75kqF5HkMEnRLe6BtE4y/IpuLCkPT37GUcP56VVtZmduKFAj5nw6ggGVk628 x/82tRYpAN0UZb6B67PieoXd3kCXH/DfNbq2FNoDT+NvT2rosm1q+QQO5AsM4Dipyf/D qzZA== X-Gm-Message-State: APzg51CHQeY6bzG5EI9qrmLIYXSO4iH4bq+/TOKCPskcSli07IWA/h3/ V81aYKRe+dHMcEHLv+BFLolMx4BxcA7Jtet25FynfA== X-Received: by 2002:a02:5916:: with SMTP id p22-v6mr27497480jab.113.1537298810870; Tue, 18 Sep 2018 12:26:50 -0700 (PDT) MIME-Version: 1.0 References: <20180831191326.25106-1-afd@ti.com> <20180831191326.25106-2-afd@ti.com> In-Reply-To: <20180831191326.25106-2-afd@ti.com> From: Linus Walleij Date: Tue, 18 Sep 2018 12:26:37 -0700 Message-ID: Subject: Re: [PATCH 2/5] gpio: davinci: Use dev name for label and automatic base selection To: "Andrew F. Davis" Cc: "Nori, Sekhar" , Kevin Hilman , Keerthy , "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 31, 2018 at 12:13 PM Andrew F. Davis wrote: > Use dev_name to get a unique label and use -1 for a base to get our > selection automatically. We pull in all GPIOs per chip now so this > does not have the effect of out of order labels like before. > > We do these both together so we can drop all the static data in one > patch. This also lets us normalize the return paths as we don't need > any cleanup after this change. > > Signed-off-by: Andrew F. Davis I have tentatively applied this patch set as we seem to have rough consensus that it will be OK. We can always pull it out or revert it if things break. Yours, Linus Walleij