Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp861856ybg; Mon, 27 Jul 2020 01:17:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyedz0ONO4QW4wZ2eBNo8rW3lhq6DVtzzikVzDVu2V37c5IS+ro7eLFuWhiFjhHCE43vs19 X-Received: by 2002:aa7:d5da:: with SMTP id d26mr20103491eds.248.1595837830874; Mon, 27 Jul 2020 01:17:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595837830; cv=none; d=google.com; s=arc-20160816; b=FnOgi4X8zh/OjlhrONzp/CGVgNJj26ZPqxpn65Fnfx6BscXxphnQzIBDwiBRitOPFC ak2TVzc1C7uSHhLrqgP3KgE6S26kFmj1A9fwfwWoEfMpy/tYvdJmz3muBANkf9Q8FEx+ MLhSMvbvTihUGE+L3D/xS/5g+pvyImTatOIMhCP+urksLO0+i1mvB34aTH2G76LTEKJm GY+E/EnwvWAQ1u2H7Frv94+cJqaGRNbJvg4IaV4Xt/mp03AlOvP0DK06K7/1Jx72Ahj4 WD6RXJvaiRxU/ti35sr+5TQW0lShrfoXrHGtAAcM86OpA6n9tWs9Hiz9CXKt8T0103BW GaUw== 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=qhp3zn/S5T76H2y1nHGP53o8P3SYGgo1t7ExJQ94lRo=; b=KTiAvun1Pa1zVQFDsayHOqGtjzUWpKk4G3GbECMz8QQu1OjMixqwd3JyhIX83phjoO G7bpvN7hjOdLnIr5MYrl87eZXb1+0etRLo2+SaTuEHHlLycXXzXI+6yoAt1pWDUDh7do lKVieHAbERd77e+g+I5/LSkOgP5Nviw1lWqkh6oJhsCY6meZrUwdKwatVSa8zVDENT5d FPKHyNeCk9ALNv2u3hG4I2a1SjDqZtZfWA3/OpaWBd/C+ocRGf5Tmv/jgF1WNtU54nrQ PqyB3WaWk7+QCt+JSddsYbwV/6JU4rYcH7a8OcriEH/qzSA3rWtIqJM58o+IXWcipYPi QHlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sZRmTr2Q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id j20si3419929edr.321.2020.07.27.01.16.49; Mon, 27 Jul 2020 01:17:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sZRmTr2Q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1727906AbgG0IPv (ORCPT + 99 others); Mon, 27 Jul 2020 04:15:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727893AbgG0IPu (ORCPT ); Mon, 27 Jul 2020 04:15:50 -0400 Received: from mail-lj1-x243.google.com (mail-lj1-x243.google.com [IPv6:2a00:1450:4864:20::243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F25CEC0619D2 for ; Mon, 27 Jul 2020 01:15:49 -0700 (PDT) Received: by mail-lj1-x243.google.com with SMTP id f5so16196558ljj.10 for ; Mon, 27 Jul 2020 01:15:49 -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=qhp3zn/S5T76H2y1nHGP53o8P3SYGgo1t7ExJQ94lRo=; b=sZRmTr2QRJtlZat87Jw5tvCZ+Jgj01sf9HOfH/YE2swB7dy6haxMsR3ILQ2xha9wbr mo+uePkbI/JtL+MZN9+5pC+2UsTCxAzoJtQFERKikXxIwlXjm6DASru9V3BATBIVVpa2 xTiUHcKo6misCIAdyhQ1iVgoWok3mv4cQjYQsowXoGnhMx1DyE1gwxLX/ANAe+ssDCm7 byOMHq3dnLGXyM4czAwqRuKqVTiCAFBQKSWmn1fNh8bfrsYzgCaFrdB51Fg/pj31vsuU 4J9GJoUIqLICJYmiw+gcaKAVJqS9GFJPgx87DUw8RG2Z52avKWq29V0L4yW6PgtQTbrG 5jpQ== 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=qhp3zn/S5T76H2y1nHGP53o8P3SYGgo1t7ExJQ94lRo=; b=oDZ6VyaqG/5KusbsFvu1hrPbVQu2wrlCORodRcSJLkmUvACZH9Mszmg36vzeeUg4t7 slOOgDKQPaOperMMIZ2pmQ2ENGXPFNLAsZ06CsPSCEHbFr8aHHhvfe9LrDz1SkJbrV4l 223WW9PYwdqBMGYEjYn+cFdCHhrIXLlLiaTu99Knt+nNtPs/rW/7JBzrwZyOx5xIP81U fWxEi/pIsw1AMqFZbQf0qLDgmv1pmCtXQYB7Jqagdmp4JHyoBlVsiUlk/TPBzA/e6Cbs XYcoz4ruD8x1HJ2E9HXvqjIMZtN1TS/vuiRBDXOLULW05s4Um9CCqiGke61MhJr5Kd6n OdmA== X-Gm-Message-State: AOAM533/S+/CTx6bQJbqPmt1gAaKqllvC3sN8J+yo7LGDqGFOL6BTydt 55MezPIYWKp8n1EQUNzDHQcCRNcZsFsgNSxNyvUSsQ== X-Received: by 2002:a2e:810a:: with SMTP id d10mr9270946ljg.144.1595837748514; Mon, 27 Jul 2020 01:15:48 -0700 (PDT) MIME-Version: 1.0 References: <20200725041955.9985-1-warthog618@gmail.com> <20200725041955.9985-4-warthog618@gmail.com> <20200727014601.GA10761@sol> <20200727055730.GA29606@sol> In-Reply-To: <20200727055730.GA29606@sol> From: Linus Walleij Date: Mon, 27 Jul 2020 10:15:37 +0200 Message-ID: Subject: Re: [PATCH v2 03/18] gpiolib: make cdev a build option To: Kent Gibson Cc: "linux-kernel@vger.kernel.org" , "open list:GPIO SUBSYSTEM" , Bartosz Golaszewski 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 Mon, Jul 27, 2020 at 7:57 AM Kent Gibson wrote: > I've gone with this: > > +config GPIO_CDEV > + bool > + prompt "Character device (/dev/gpiochipN) support" if EXPERT > + default y > > so the entry is always present in menuconfig, and GPIO_CDEV_V1 can still > depend on it, but GPIO_CDEV can only be disabled if EXPERT is set. This is perfect, thanks Kent! Yours, Linus Walleij