Re: [PATCH v2] iio: adc: max9611: fix module auto-loading

From: Javier Martinez Canillas
Date: Wed Jan 10 2018 - 06:01:15 EST


Hello Jonathan,

On Mon, Jan 1, 2018 at 10:53 AM, Jonathan Cameron <jic23@xxxxxxxxxx> wrote:

[snip]

>
> I may well be missing some subtle detail of course having spent only a few
> minute looking at this!
>

Your understanding is correct. This change has nothing to do with
module autoloading.

The .probe_new callback is only used to avoid requiring an I2C device
ID table since the old .probe callback has a struct i2c_device_id as a
parameter and so requires a table even in OF (or ACPI) only drivers.

> Jonathan

Best regards,
Javier