Re: [PATCH v2 1/2] gpio: add GPO driver for PCA9570

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 30, 2020 at 12:28 PM Bartosz Golaszewski
<bgolaszewski@xxxxxxxxxxxx> wrote:
> On Thu, Jun 25, 2020 at 9:58 AM Sungbo Eo <mans0n@xxxxxxxxxx> 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



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux