Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp5683126ybg; Tue, 22 Oct 2019 06:58:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqxm1IL6fMoYmxUkMTLf/ANgBUumLPpjaGj4TI6P6lTDzrS2jOlQKVfdGUQyI/QvEasZ12mA X-Received: by 2002:a17:906:e2c4:: with SMTP id gr4mr12581307ejb.260.1571752702823; Tue, 22 Oct 2019 06:58:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571752702; cv=none; d=google.com; s=arc-20160816; b=0Gq/eGgajOAGFQRDCXabvijDnW7tEHdWzAfdyLKNeXGgpYB1mbFB57mSUpB5FqWFut AKDmRYet+CtYJSpd7nTbhxzdfHx5SU/pxihprNtwpODZHLe0D/XlqIyKCk78ET8KmzVv Varxq/qk4SC2sub7LWIcUfVcER2jWtXPUwyrpeZH6nWEpjkswctsZxtcKqQHWbwB7uXf PeCzh17bxEKDsWuHLu87moSrBOLNzkyGUFqduA0yX/CNN8CdsX3xXJCqYOCk7D/PBbcE N+wX+Xd9rKc/uMBZuqx4OxSYBWAgr6lifNHUYt3ojQbCt7tOopeqOpRaqEhpkadQ1qJv behA== 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=nYx2NKitaTBhkEd7A3BVsynzutbsRDInsCzGOV0d+wk=; b=a0LmW74MohbfZlj7MD232Gr8/Mq7qucE0Xdyr7pX91UZ8+3iYBh0qiZxC7i1nSud1C H/hT2cgp5aZG9XNRufDrqYyg5R0RtxAGbUfWLVrGhpZvB6SPguYBcIEquTN+54y2MaIi XrgAFk3CnG07kbxmwsUecHAkQlVO9hFU/wEq6ZRPz84m3jx9Z1UpL1kGXvlAjMKgsChq X8iZWDK03QhqRrsdVhdh37bFBzZG1Erq/zeQ/wihVSD8L90nOKY0gZwdTUJ9bCfIRdxN dHLfXeu+cnwZ0wAPjbgY162VYIrksm66oSJXQTSn0mXfrE5Rz4Dh6cMEf6qv7uF1M+DR FyRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TlyziFZT; 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 b27si12336679ede.233.2019.10.22.06.57.58; Tue, 22 Oct 2019 06:58:22 -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=TlyziFZT; 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 S1731946AbfJVNWK (ORCPT + 99 others); Tue, 22 Oct 2019 09:22:10 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:43953 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387598AbfJVNWK (ORCPT ); Tue, 22 Oct 2019 09:22:10 -0400 Received: by mail-pf1-f196.google.com with SMTP id a2so10650550pfo.10; Tue, 22 Oct 2019 06:22:09 -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=nYx2NKitaTBhkEd7A3BVsynzutbsRDInsCzGOV0d+wk=; b=TlyziFZT5RLehXqmdvxj1TDbM1hyj+gyvT6iZeEWyw3pVyPZfwIX0eGMY5hjnizA05 FmtNRE/ycgUMmExPlgVmGxgk+0JhgldYV8hLWi288tPwss7VSdaWCeyJwbhK8Kp3Dqyx RzldWSSXx5/RPJes/EiLHAXhmtsFWC9Rygfdqw04w1J5FJhF4owDtVR6I75XLmgHbLU7 YkEHMTfW3udCHlzo6nabzsjckrzV3A1XiKKmaFg5YkLEOjAwUrufxoaHinaSiSIqP5R6 Zp4Tab95ppzxiDOhwBi6EZ6uSYMcoBdt/k5xCA2VGjqEZcUQ+vMlO6IBgwVthpy5iCeJ k4FA== 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=nYx2NKitaTBhkEd7A3BVsynzutbsRDInsCzGOV0d+wk=; b=FcwiRm47gAhQq63JIwFaLR7kCf6it/7N0uDqfrWBz9OJNh+m78Vr37X9PwxsyLE3pU Rax394q8OTy4XVCcuuUFmwVb966a7y0/o1/NgMBJ04WZuosNYB/4Kqn1+2+pEaMphMbz dUs5x2CZYqDynxb/o0oEKmbKPQr9pWVYVeUcYliml/8Q1DsDLNXxpkbGJVn8AKUCJIO4 NOgBMyYVOieXmt5XJnMmlRlMCXUmTXKoIx20w7vW6L71cbueUr7ZCBVLn3BbAz+kLsGS crSlOkDRplXqRc08wbD7N/Bhk9KSec7WgZGLHNH7LbCAf7X+U13yrzGNWW5j+68gvx79 cBkg== X-Gm-Message-State: APjAAAXurO3x5AsGPH4XwIWP9zWmisXxfLudrXJEbUf4HiEFDUlFCE33 0YWgjZuOeF/X2EXuuhZVL8ewfj8anwsUucrbnzU= X-Received: by 2002:a62:2643:: with SMTP id m64mr4139659pfm.232.1571750529070; Tue, 22 Oct 2019 06:22:09 -0700 (PDT) MIME-Version: 1.0 References: <20191017204217.106453-1-dmitry.torokhov@gmail.com> <20191017204217.106453-10-dmitry.torokhov@gmail.com> <20191021212710.GU35946@dtor-ws> In-Reply-To: <20191021212710.GU35946@dtor-ws> From: Sven Van Asbroeck Date: Tue, 22 Oct 2019 09:21:58 -0400 Message-ID: Subject: Re: [PATCH 09/22] Input: apanel - switch to using polled mode of input devices To: Dmitry Torokhov Cc: linux-input@vger.kernel.org, Bartosz Golaszewski , Brian Masney , Enrico Weigelt , Luca Weiss , Maximilian Luz , Linux Kernel Mailing List 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, Oct 21, 2019 at 5:27 PM Dmitry Torokhov wrote: > > > > +static const struct i2c_device_id apanel_id[] = { > > > + { "fujitsu_apanel", 0 }, > > > > If the driver_data field of i2c_device_id is unused, would it > > be better to match via apanel_driver.driver.of_match_table ? > > This is X86 driver, and the device is instantiated from > drivers/i2c/busses/i2c-i801.c based on DMI match, so using OF is not > really helpful here. > You're right of course! This driver doesn't even select/need CONFIG_OF :)