On 4/2/20 8:45 PM, Andy Shevchenko wrote:
On Wed, Apr 1, 2020 at 9:47 PM Alexandru Lazar <alazar@xxxxxxxxxxxxx> wrote:
Add driver for the Maxim MAX1241 12-bit, single-channel ADC.
Perhaps put data sheet link as Datasheet: tag here?
Reviewed-by: Alexandru Ardelean <alexandru.ardelean@xxxxxxxxxx>
Signed-off-by: Alexandru Lazar <alazar@xxxxxxxxxxxxx>
...
+ indio_dev->name = spi_get_device_id(spi)->name;
Shouldn't be rather part number?
Jonathan?
This is the part number as defined in the spi_device id table :)
+static const struct spi_device_id max1241_id[] = {
+ { "max1241", max1241 },
+ {}
+};
- Lars