Re: [PATCH v4 09/11] platform/x86: int3472: Pass tps68470_clk_platform_data to the tps68470-regulator MFD-cell

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 25, 2021 at 12:42 PM Hans de Goede <hdegoede@xxxxxxxxxx> 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



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux