Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3443006ybt; Tue, 30 Jun 2020 02:56:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycO1tUBWwiaSQ//Bwb7vqRr9qQU8N5peXxKIiXU99/HOGNkdfXY0ydYYrNPErfm47i6n+Z X-Received: by 2002:a05:6402:3113:: with SMTP id dc19mr21005607edb.20.1593511013725; Tue, 30 Jun 2020 02:56:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593511013; cv=none; d=google.com; s=arc-20160816; b=iieyWEAYwhijgWBAE8tu86QGdmvccCAdbP+WDeQqrG7+ypFgkkaKzWjs90SQ+rZVhA KbmVy6zz5cYoWo6PTLnUg9ZCjgKh5q7Ef6CMw6TD5CxjT6OmtQVFs63Tsko15u/0XWWK 5/nQcYghdB4aWmwVtMuFSQHioTM1QCcziqtHViZonNVoVPZOnM7PTLs+Qx5+qIVfStiT GZHDbboK5frwSMEXsjGLxq1pjTbEZE/brwddMR5aCQGaT+/TmH1plLYz8AFg2FOkBHRO Tp+7CRz5WYSxfeptdY3mxrYyFVOmr3PHrgEi05LpRBRFwpDLYWpZ4KxDDsTyFtVZgBJP UgGw== 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=pu+8c4pxZP7VDPcWMX3cvDqtPoM2Z/4+ORSQBZa9fP8=; b=SZqt2zWNcXdlAccWHa2fevRqoE2PgDqJQeHgpO8vs05B+q/r+98rChjC5K3vfRZ99e tKBmcvSXoqNg07N3BW8SPYUH1tfEz7ie5Nl6Re075lPFenco+Whc9pZzo3vgXxDvUbln yTz7Tz6HR74B389P7UYjjaEGBOk9+Kf5L+RLnmrwxjNLFyElFfaPyICNq9SvObw8A6qz NNrLkTpmfgtJ5ZAw/hHKElJIne06sAWIjfteoaBO+h3quvOj3qnf86DfGierf7kj5ieY X0+8F0yKZMVl2Y4NYtteN8hDCXFYXlX4gAw3u9EoJnksM86POXBTqecEFRqeIUm1dcvY iRXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=iOZTw5p3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id p20si1429063ejr.120.2020.06.30.02.56.30; Tue, 30 Jun 2020 02:56:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=iOZTw5p3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1730714AbgF3Jx5 (ORCPT + 99 others); Tue, 30 Jun 2020 05:53:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39382 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729017AbgF3Jx4 (ORCPT ); Tue, 30 Jun 2020 05:53:56 -0400 Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45062C061755; Tue, 30 Jun 2020 02:53:56 -0700 (PDT) Received: by mail-pg1-x544.google.com with SMTP id e8so9721886pgc.5; Tue, 30 Jun 2020 02:53:56 -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=pu+8c4pxZP7VDPcWMX3cvDqtPoM2Z/4+ORSQBZa9fP8=; b=iOZTw5p3PhrLlB33oX3iHhPUa7AtOUAPU4fvtIi61vf7UYm4i+g1ybpyU0fH6irrMM wr/HuNGd0XsNfcKV+dxU90wRk/Zp6TC81oWimDnGh1DHx/WD+EG9VpnKOqWe4a6nSB4P CHGg/xLxDxTZ7ruZdr3kZNElBjD7Q58olV9nDKEArc/jJSdfa/GQ24jduQIdBSH/60pb k4zLDdY/ZG925UKIPnx3XklzXTanzkM/ZK70pASTgju0rAdzkrRoSeF1BPhWN9lSPKdb Bl1HiMs72X7BPylrygLupbmuXou6Tt0haGCEeljJZJiig+gyS9rvkvpvwVfnzjK2mb5s nWFw== 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=pu+8c4pxZP7VDPcWMX3cvDqtPoM2Z/4+ORSQBZa9fP8=; b=K9FbcUp9/9k6LrmN4jmAquxnif9ZpupnISVFmwZpfSEWiU+fpVR8zTnTDGKBQX1BCt npDMjeiyKiIYuSRaF8xuUyoXMBaTLD98lLX7RRDnb+EWSTnlyTM9BjnRRJwpyWb9NLEv MDNG1+Rj+T1zkaN+lE3mlIdRSdiodZx5Iq7ZynlkeKlIDmNPRuZYfKwa6n4i0Vj4RlLC RwASo+cHn7daNsKObamwuRAMSLNON6bo8q9x5TqEdY5zTs956Y+GZSdAcmdXm4B9TYaF 6//K+Rnl1/cXh9EA4R6VdUSON84p9X/786KSosn3ftiEbHV7gjz3Ingohm+TlKA0EoK1 E8XA== X-Gm-Message-State: AOAM533Y/vJBB8UD1US0p2GeLxL/HXVBD8N+kwpmICrI788uI+wiQ7Us utuW/w4hsTBx7aUvCM+KcHHE7M/TsgdtIl62ktQ= X-Received: by 2002:a63:ff52:: with SMTP id s18mr14592506pgk.203.1593510835663; Tue, 30 Jun 2020 02:53:55 -0700 (PDT) MIME-Version: 1.0 References: <20200625075805.363918-1-mans0n@gorani.run> In-Reply-To: From: Andy Shevchenko Date: Tue, 30 Jun 2020 12:53:42 +0300 Message-ID: Subject: Re: [PATCH v2 1/2] gpio: add GPO driver for PCA9570 To: Bartosz Golaszewski Cc: Sungbo Eo , Linus Walleij , LKML , linux-gpio 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 Tue, Jun 30, 2020 at 12:28 PM Bartosz Golaszewski wrote: > On Thu, Jun 25, 2020 at 9:58 AM Sungbo Eo wrote: > > +static const struct of_device_id pca9570_of_match_table[] = { > > + { .compatible = "nxp,pca9570" }, > > + { /* sentinel */ } > > +}; > > +MODULE_DEVICE_TABLE(of, pca9570_of_match_table); > > If you're not using it in probe than maybe move it next to the I2C device table? (Side note) ...and even if so it can be assessed via a struct device pointer: dev->driver->id_table (don't remember by heart, but you have an idea). -- With Best Regards, Andy Shevchenko