Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp753276ybi; Fri, 21 Jun 2019 07:36:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqy73y4EAokjfkU3oP+2SvpWQU7HrS5A7xwj9sbsyBgwc22q++Z/zgoYlVwa7m27dZSv7uwK X-Received: by 2002:a17:902:2884:: with SMTP id f4mr44573504plb.286.1561127806384; Fri, 21 Jun 2019 07:36:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561127806; cv=none; d=google.com; s=arc-20160816; b=X7mLMW/327jfmTI6zv3OBjwBMGwOcj9sDvRbrnV9wyMPT7NDL0RLDAvWUAIu5WFdU3 oxjaekyCa1O/X4lmtLLUESGOXqsWY3XbW2ttK9sSb5+xbAy7B+OtDcO7LEWZbkWUXlV6 ZGRRl9+SGV6W4GwrB0FdBLJQwVKiY0YtyyCgTTOz7zqlmdumc5/4KdMZgTarducb14GS YB4Ird7xc8WIoERWyebmtkEOrQ5KDE5LANMcIO9z9ook/3M8GFCCV9Yfy8DWrHg6YHgS UZeg2Kt6iqUKfIv5GyjJ3Sz81I2G68ddUT+rmCWb0WjKlrl0t34tIwPat1wKRzl6W6Zb 1lrw== 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=AECDYLxDxs7t3GCnNHcYsgiH9u/iWrvr6DiFBtVCaR0=; b=QrxxKZAQwW09uG4XNGYE3IRCYTpu1pxwkSqsNOmikq7YeYb2Lat78iqhKTzixPg1XL H76shn+SSgDjSxduD274V1Zlh11MTtL9GejZR5CNzI3Lojm/On4RMVboWU6053iwHoZ2 zvchNfeFX3tk19Bj9gqIQhsiSU/v29+yDLN0hBFvbMFx9sE2vhc+8w2rS9k0vTP0bzxY ngGInEB5yW1C6tc1pTBetvfC1WZeN3XsgLIzUiAPFly0myMiAcZOUSFUkik61/WrEP99 t11abnXGtYtwwlSs61zPdRkcESPmdRCfr981gjgjK99RJ7nVosnorAJ3MMpSryPQY3r3 VIQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mIhTAt82; 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 b125si2758512pga.178.2019.06.21.07.36.31; Fri, 21 Jun 2019 07:36:46 -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=mIhTAt82; 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 S1726574AbfFUOek (ORCPT + 99 others); Fri, 21 Jun 2019 10:34:40 -0400 Received: from mail-io1-f68.google.com ([209.85.166.68]:35734 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726535AbfFUOej (ORCPT ); Fri, 21 Jun 2019 10:34:39 -0400 Received: by mail-io1-f68.google.com with SMTP id m24so1708514ioo.2; Fri, 21 Jun 2019 07:34:38 -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=AECDYLxDxs7t3GCnNHcYsgiH9u/iWrvr6DiFBtVCaR0=; b=mIhTAt82nLco82ZUCJu8f/BQnr1sKyonZ/h33w52rRQFbAOYmW2zAdH0eWvaTJf7Em DkojVv9wiWl1xGazjMm7vANa5MqniYm2SNgbHhRHcbjhcsxUmhC+xSPMsvNvZl077ZXU HvOFr05BCX8m5Js9aFlBaBOrX0OIeWz6z+1GNXjAk6tqk6GIa2BxsvSAdwXldf2GA5SX GrmcZ69IVV7SMeiIzA3rEo/dniNGU7dAwPwGwUgSr+lBdmB8QN4xJqB4dvqBdBK5F9jo SgdLf2McEtqSD1SHw+fYhZvNpfzZMGQ0E5fk5VA6hnPxroPzz6JqGFTVyUT/LsT1MRZy FJFw== 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=AECDYLxDxs7t3GCnNHcYsgiH9u/iWrvr6DiFBtVCaR0=; b=lMh5Xeg4FpEu+DQZYNgcmwN9wY00YtoOT5YOJqixJbbNGOC2C8LU8P8yii5hpI3/8r PV3bR74Zm/P9eHIZ9G7W2yAOYNIPahz/2WOx9itIsWnhZdn6ogC/FtDKbKQo7YCoJp23 9s9U1S2x1RmE8TGUJmw/4Z91FsDmmM2Jc3KTM8fqvYxKpcweykMRdFQ9vvpFWj/91b22 H1KUgSGRbwQsisoGgwtLwZ47lkzx6owjCiyVWxDbvku7GwVz5n5wehtL4njHmQiZDuyH BY0KuEKapKbJWNmGYYJXhzIt8OKLU6sEO8hepQsDubRpO7IkwYAKmlGlAJ43Fjpg+JFT Nxsw== X-Gm-Message-State: APjAAAU5nydtAVBFDVq+dt5yCXwWj+csmGtwd5gPMtnm1IFlJr6Og2OF 3TDhKjb9E72U8APQzfRkLhzcnMbqRmgtWWvHqX0= X-Received: by 2002:a5d:8049:: with SMTP id b9mr2356470ior.199.1561127678260; Fri, 21 Jun 2019 07:34:38 -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: From: Jeffrey Hugo Date: Fri, 21 Jun 2019 08:34:26 -0600 Message-ID: Subject: Re: [PATCH v7 1/5] Input: elan_i2c: Export the device id whitelist To: Dmitry Torokhov Cc: Benjamin Tissoires , Jiri Kosina , Hans de Goede , Bjorn Andersson , Andy Gross , 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 On Thu, Jun 20, 2019 at 10:34 PM Dmitry Torokhov wrote: > > 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. I thought it would be convenient to keep all the IDs in one place, but I'll put these back. > > > 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/ Doh. Will fix. > > > + * > > + * 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. Ok. No problem. > > Thanks. > > -- > Dmitry