Re: [PATCH v5 2/3] HID: quirks: Refactor ELAN 400 and 401 handling

From: Jiri Kosina
Date: Wed Jun 12 2019 - 10:49:56 EST


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