RE: [PATCH v2] mfd: madera-i2c: Simplify probe()

From: Biju Das
Date: Tue Aug 29 2023 - 10:57:54 EST


Hi Andy Shevchenko,

> Subject: Re: [PATCH v2] mfd: madera-i2c: Simplify probe()
>
> 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 ?

Oops, missed it.

Cheers,
Biju