Re: [PATCH v2] mfd: arizona-i2c: Simplify probe()

From: Andy Shevchenko
Date: Tue Aug 29 2023 - 10:54:44 EST


On Mon, Aug 28, 2023 at 04:56:17PM +0100, Biju Das wrote:
> Simplify probe() by replacing device_get_match_data() and ID lookup for
> retrieving match data by i2c_get_match_data().

...

> + type = (unsigned long)i2c_get_match_data(i2c);

uintptr_t ?

--
With Best Regards,
Andy Shevchenko