Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5938741ybi; Wed, 12 Jun 2019 11:03:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqygK3X4Z47JFql2xxHEa7LLzIaMy99XmhDSnokJz+FgYqWOmxruEbyPuEPreCpsniBKmh3v X-Received: by 2002:a17:902:2be8:: with SMTP id l95mr77671532plb.231.1560362589287; Wed, 12 Jun 2019 11:03:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560362589; cv=none; d=google.com; s=arc-20160816; b=fVKquge1fuHpWUmaIY1OIpy114FmevVHttnlbKuBZ6rd+zfxJp4wFK4UAvPZgoZUUo 5F8BO41T5wcQoKErIpX5Zm+D2Hl4VchXnMLt0Tgo3CcTF++7J2IseenKLtSStqXrM6GM oPS6trVjhYDdMeEobcWfK40+P7xxSXduTzuFCAsdlYbNKMJWwfHFlmJiY/uiTCfvth+q z0kIJX5McGM1yEiT8AXDHX9h/Sw8qu+UcZPD7OGdQ31uDMdZKCV2jTOzo9VbXdSc8frW NsKqNm7oR6Hff9Xwjd815HC3eOQ6JY2yA+jgEOEO3I1gqYPwZkEYsIXZ6ox/SIxEArrM doYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=Y4eIJxmbrEl9MeAs/7dd2WNG5yxG+ifVE4SXk9Ngll8=; b=RLIyRSggve2KzOQCS5uyluMnlBh/5OK8GRXCIF73sbZsULY/MXWThiBHwJ8HdQ5LeZ TEjB32G6QXVQFWbx+2vrfSyAi1p4WxXTB4aNenHeC3csQfIpQ94saTh5k5EDo8iRJyn6 VKq3qiFrKbJYNv4zL2mZBc8+flVqGcjrbWrO4c6zSha0YLWA+yubPqW1h5rre5d1b68p gu4AYZRQCPNvDail2DvtVc4T8tBwO8VCZUDAToGyRVbzV69JX/vSPWIZbhyiaYH8XVBu bZOVuVl2L457MaLqh/5bGD9ePKAbyMV45NhNPf4+647fpM9qx8xKUw1aAlVexXBSaEZ4 MkSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Pd4/F0yM"; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u1si413411pgo.595.2019.06.12.11.02.55; Wed, 12 Jun 2019 11:03:09 -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=@kernel.org header.s=default header.b="Pd4/F0yM"; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732495AbfFLOpS (ORCPT + 99 others); Wed, 12 Jun 2019 10:45:18 -0400 Received: from mail.kernel.org ([198.145.29.99]:56274 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728707AbfFLOpR (ORCPT ); Wed, 12 Jun 2019 10:45:17 -0400 Received: from pobox.suse.cz (prg-ext-pat.suse.com [213.151.95.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 68106206BB; Wed, 12 Jun 2019 14:45:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1560350716; bh=rOfk/K0YNJACpRZFi4bgdJVwMwRzfJQ4/d8AReyG3XA=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=Pd4/F0yMyORxjiIL4Q4GYK4bTFMq+FmycjXpaW2xU09+SKqP8l8EhnTowlUEUqmpe /LjeLKkSzfjukeQSjtcEFq6BQ7Oj3e7Ew0jQ0ghrFM6j5iZYmuOevsE3fTXNFfv0TV S081STik3qZaMDk/o1QVHvduaR9OgmnDsec2VeDE= Date: Wed, 12 Jun 2019 16:45:11 +0200 (CEST) From: Jiri Kosina To: Dmitry Torokhov cc: Jeffrey Hugo , benjamin.tissoires@redhat.com, bjorn.andersson@linaro.org, lee.jones@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, agross@kernel.org, david.brown@linaro.org, hdegoede@redhat.com, linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 2/3] HID: quirks: Refactor ELAN 400 and 401 handling In-Reply-To: <20190612003507.GG143729@dtor-ws> Message-ID: References: <20190606161055.47089-1-jeffrey.l.hugo@gmail.com> <20190606161322.47192-1-jeffrey.l.hugo@gmail.com> <20190612003507.GG143729@dtor-ws> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 11 Jun 2019, Dmitry Torokhov wrote: > > +static const char *hid_elan_i2c_ignore[] = { > > If this is a copy of elan whitelist, then, if we do not want to bother > with sharing it in object form (as a elan-i2c-ids module), can we at > least move it into include/linux/input/elan-i2c-ids.h and consume from > hid-quirks.c? Let's just not duplicate it in both objects. Why not properly export it from hid_quirks? Thanks, -- Jiri Kosina SUSE Labs