| From | Andy Shevchenko <> | Date | Mon, 25 Oct 2021 14:33:11 +0300 | Subject | Re: [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
|