Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp219470ybi; Thu, 20 Jun 2019 21:34:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqxFOOU1eFW2cNF9ju+9TMYvJW9n+oKh/suRQdbrNqGljBPm3x7aPYUKwB4NtXFqY4UIdDsc X-Received: by 2002:a17:90a:e397:: with SMTP id b23mr3792759pjz.117.1561091684379; Thu, 20 Jun 2019 21:34:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561091684; cv=none; d=google.com; s=arc-20160816; b=KnV/pBkECGHn6RbEIIylIbHOob70Sc4fTn4ibW2d4rkGdWvtve2ftwFFl9AqYq2Nwl C1JrZZpR1sfk6/cOpT4DovTbFJRydgsDw3b4lN0e9VnJXUda+5yTSPdE9wXAcESmAJQk k81pTaYRCdZA/jAAmJkrRajn6FW8xeOeh7zRnfBBocHjgQzTNA2VWMPBNEgYJUnn8+Iz oCcBTzC9bw09Fv1ZK3c8L9XueSK5SrmBq4GtplxklO3lQ1VXnN+L4BdEgzQWgVdTwNn6 r9x7KE8iUzfbbfEZiPPQloR32VaR+M5tSTN3i1eCMOhS6m7cZ7g9HK1F4LhU/v6bNMRq 3/+w== 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=ica3ySUaR522yE/ZMxZYijSnhD1xDLlEp+v8Cx/mej0=; b=rXWXiDbxzjk6w6+4SrUWJEdZ+0/QeKD1+nQ0J8XvxMs9aHsQ+vJDc6Z7wwD9hzwi5N EMsB8CNXF6Ec2cCX6wWf4qUdeGvl6hbFsnb2R8gVL/fq5Rh82OKb30VR5LNaUGXxqE72 pZwNb6P73ctYNjDqFrVLSI/PwXn/9vqScI6tgm0bTzVBXcFa0I/5Wrxtm+ZEwTCAh/Ta aEH1jusT9HRvcpbLPCEOaop8F89n3jIxOEuBVilYnD/OVFUbsuhm5tts0Db96qnBnbOS C1ubzKA38wJ36kcJbsHFYpMXLUZUHqCzFtbSG3WqJP1IBBWHZXPP5KkSKRjVkM0WSe4T CroA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Mxa9wvtP; 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 s29si1490421pgn.5.2019.06.20.21.34.26; Thu, 20 Jun 2019 21:34:44 -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=@gmail.com header.s=20161025 header.b=Mxa9wvtP; 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 S1726092AbfFUEeY (ORCPT + 99 others); Fri, 21 Jun 2019 00:34:24 -0400 Received: from mail-io1-f66.google.com ([209.85.166.66]:43233 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725876AbfFUEeX (ORCPT ); Fri, 21 Jun 2019 00:34:23 -0400 Received: by mail-io1-f66.google.com with SMTP id k20so75954ios.10; Thu, 20 Jun 2019 21:34:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ica3ySUaR522yE/ZMxZYijSnhD1xDLlEp+v8Cx/mej0=; b=Mxa9wvtP/UVcehlG+S94/uUMn1COAyoRZ2nTdlBsJ3zad9huyWhwYg/cSWnwOFXbOz lrmnwE1Ha/V1irJ03HR0I9WNPsv0kaCxzt4z8cy0KJMIgB49TKsVhNqNBUoxVLIZ/zWc mVha4mE8S1zpx44V9n5k/ORXV9M4TCZjXUtYknxYbCu2JI+SGYniuPlW84Z19kN7IjUT cQoHtsbVqvxzOBherxXPhGvK137Jsm/Om0hvM5zNbsl3vpkuiDvvCSDVqYnWxfeKm1xT SBoOj7gPBq2khCIR1k3yR+m/yZHVdHpRmC0oOGLT1nM/t0+UWtqP4VY2Lrk1MNKwAm/e 7QpQ== 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=ica3ySUaR522yE/ZMxZYijSnhD1xDLlEp+v8Cx/mej0=; b=WHQK/toU5lubVf5UhB5peFInL4xyfo8JwNE0iGHo3zqrU9AC+sceCsKwfOiNJk8WAN 2u98GGRHkjIRFHq7iVrmqGcylIPuRRLqM3JzVlI74/fhbA5uSXYS+h0wFSBlJ6MmT90O mA/D+8YrkKP/H4ssK/x5Gxn7Q2WU+HLr+q0Rm5aD713L+56xaUuOH45YWvnGjxUXkpX2 CjCxZOH2k7dmcKqnQXfjQQc1hhotuMPSgRSKX2bjjDFRFN73qoLrqv5Lp4Xv960IAOWB lKQyy2pWfC0hcA0oikjurQZQtKOJKV3ZMEG3Vn+XdUFE0XtN9MYQYdULjQKmqQ216YXK RQIA== X-Gm-Message-State: APjAAAVePo1DPVbtqHqDo/G9uLNl+cEfHkHEdy+3T55J9sIisdp4luYj SfIxRfsM3F3I99vwQrxvwmFpU805p9IVM+O2hVI= X-Received: by 2002:a5e:de4d:: with SMTP id e13mr20647673ioq.272.1561091662310; Thu, 20 Jun 2019 21:34:22 -0700 (PDT) MIME-Version: 1.0 References: <20190620142801.11827-1-jeffrey.l.hugo@gmail.com> <20190620143318.11880-1-jeffrey.l.hugo@gmail.com> In-Reply-To: <20190620143318.11880-1-jeffrey.l.hugo@gmail.com> From: Dmitry Torokhov Date: Thu, 20 Jun 2019 21:34:10 -0700 Message-ID: Subject: Re: [PATCH v7 1/5] Input: elan_i2c: Export the device id whitelist To: Jeffrey Hugo Cc: Benjamin Tissoires , Jiri Kosina , Hans de Goede , Bjorn Andersson , agross@kernel.org, Lee Jones , xnox@ubuntu.com, Rob Herring , Mark Rutland , "linux-input@vger.kernel.org" , DTML , "open list:ARM/QUALCOMM SUPPORT" , lkml 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 Hi Jeffrey, On Thu, Jun 20, 2019 at 7:33 AM Jeffrey Hugo wrote: > #ifdef CONFIG_OF > -static const struct of_device_id elan_of_match[] = { > - { .compatible = "elan,ekth3000" }, > - { /* sentinel */ } > -}; I think OF IDs should stay in this file since we agreed HID will not be checking them. > MODULE_DEVICE_TABLE(of, elan_of_match); > #endif > > diff --git a/include/linux/input/elan-i2c-ids.h b/include/linux/input/elan-i2c-ids.h > new file mode 100644 > index 000000000000..8130bbebbdda > --- /dev/null > +++ b/include/linux/input/elan-i2c-ids.h > @@ -0,0 +1,68 @@ > +/* SPDX-License-Identifier: GPL-2.0 */ > +/* > + * Elan I2C Touchpad devide whitelist s/devide/device/ > + * > + * Copyright (C) 2019 Jeffrey Hugo. All rights reserved. This just moves the code around. If anything I'd say it should keep the original Elan copyright. Thanks. -- Dmitry