Re: [PATCH v2] mfd: madera-i2c: Simplify probe()
From: Andy Shevchenko
Date: Tue Aug 29 2023 - 10:53:05 EST
On Mon, Aug 28, 2023 at 04:49:41PM +0100, Biju Das wrote:
> Simplify probe() by replacing of_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