lkml.org 
[lkml]   [2023]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] mfd: arizona-i2c: Simplify probe()
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


\
 
 \ /
  Last update: 2023-08-29 16:55    [W:0.081 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site