lkml.org 
[lkml]   [2021]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v4 09/11] platform/x86: int3472: Pass tps68470_clk_platform_data to the tps68470-regulator MFD-cell
On Mon, Oct 25, 2021 at 12:42 PM Hans de Goede <hdegoede@redhat.com> wrote:
>
> Pass tps68470_clk_platform_data to the tps68470-clk MFD-cell,
> so that sensors which use the TPS68470 can find their clock.

...

> + cells = kcalloc(3, sizeof(*cells), GFP_KERNEL);

(1)

> + if (!cells)
> + return -ENOMEM;

...

> + ret = devm_mfd_add_devices(&client->dev, PLATFORM_DEVID_NONE, cells, 3,

(2)

> NULL, 0, NULL);

Can we provide a definition for magic in (1) and (2)?

--
With Best Regards,
Andy Shevchenko

\
 
 \ /
  Last update: 2021-10-25 13:34    [W:0.301 / U:0.600 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site