Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1211491
| From | Jonathan Cameron <jic23@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 11/18] iio: adc: max1027: Set struct spi_driver .of_match_table |
| Date | 2015-08-22 20:10 +0200 |
| Message-ID | <q0loR-1f3-9@gated-at.bofh.it> (permalink) |
| References | <pZs93-65q-3@gated-at.bofh.it> <pZsiL-6gT-33@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 20/08/15 08:07, Javier Martinez Canillas wrote:
> The driver has an OF id table but the .of_match_table is not set so
> the SPI core can't do an OF style match and the table was unused.
>
> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Applied to the togreg branch of iio.git
Thanks,
Joanthan
> ---
>
> drivers/iio/adc/max1027.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/iio/adc/max1027.c b/drivers/iio/adc/max1027.c
> index 44bf815adb6c..54a8302aaace 100644
> --- a/drivers/iio/adc/max1027.c
> +++ b/drivers/iio/adc/max1027.c
> @@ -508,6 +508,7 @@ static int max1027_remove(struct spi_device *spi)
> static struct spi_driver max1027_driver = {
> .driver = {
> .name = "max1027",
> + .of_match_table = of_match_ptr(max1027_adc_dt_ids),
> .owner = THIS_MODULE,
> },
> .probe = max1027_probe,
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 00/18] Export SPI and OF module aliases in missing drivers Javier Martinez Canillas <javier@osg.samsung.com> - 2015-08-20 09:20 +0200
[PATCH 03/18] mtd: dataflash: Export OF module alias information Javier Martinez Canillas <javier@osg.samsung.com> - 2015-08-20 09:20 +0200
Re: [PATCH 03/18] mtd: dataflash: Export OF module alias information Brian Norris <computersforpeace@gmail.com> - 2015-08-21 00:00 +0200
Re: [PATCH 03/18] mtd: dataflash: Export OF module alias information Javier Martinez Canillas <javier@osg.samsung.com> - 2015-08-21 00:20 +0200
Re: [PATCH 03/18] mtd: dataflash: Export OF module alias information Brian Norris <computersforpeace@gmail.com> - 2015-08-21 00:40 +0200
Re: [PATCH 03/18] mtd: dataflash: Export OF module alias information Javier Martinez Canillas <javier@osg.samsung.com> - 2015-08-21 01:00 +0200
Re: [PATCH 03/18] mtd: dataflash: Export OF module alias information Brian Norris <computersforpeace@gmail.com> - 2015-08-22 00:50 +0200
Re: [PATCH 03/18] mtd: dataflash: Export OF module alias information Javier Martinez Canillas <javier@osg.samsung.com> - 2015-08-22 02:30 +0200
Re: [PATCH 03/18] mtd: dataflash: Export OF module alias information Brian Norris <computersforpeace@gmail.com> - 2015-08-22 03:10 +0200
Re: [PATCH 03/18] mtd: dataflash: Export OF module alias information Javier Martinez Canillas <javier@osg.samsung.com> - 2015-08-22 03:20 +0200
[PATCH 09/18] mfd: cros_ec: spi: Add OF match table Javier Martinez Canillas <javier@osg.samsung.com> - 2015-08-20 09:20 +0200
Re: [PATCH 09/18] mfd: cros_ec: spi: Add OF match table Lee Jones <lee.jones@linaro.org> - 2015-08-24 16:10 +0200
[PATCH 08/18] [media] s5c73m3: Export OF module alias information Javier Martinez Canillas <javier@osg.samsung.com> - 2015-08-20 09:20 +0200
[PATCH 11/18] iio: adc: max1027: Set struct spi_driver .of_match_table Javier Martinez Canillas <javier@osg.samsung.com> - 2015-08-20 09:20 +0200
Re: [PATCH 11/18] iio: adc: max1027: Set struct spi_driver .of_match_table Jonathan Cameron <jic23@kernel.org> - 2015-08-22 20:10 +0200
Re: [PATCH 00/18] Export SPI and OF module aliases in missing drivers Brian Norris <computersforpeace@gmail.com> - 2015-08-20 23:20 +0200
Re: [PATCH 00/18] Export SPI and OF module aliases in missing drivers Javier Martinez Canillas <javier@osg.samsung.com> - 2015-08-21 00:00 +0200
csiph-web