[RFC PATCH v2 01/15] misc/arm-cla: Add driver skeleton and documentation

Linus Walleij linusw at kernel.org
Sat Nov 21 13:19:18 PST 2026


Hi Ryan, Jean-Philippe,

On Thu, Oct 15, 2026 at 4:26 PM Ryan Roberts <ryan.roberts at arm.com> wrote:


> +/**
> + * struct cla_dev - CLA device
> + *
> + * Immutable state:
> + * @cpu:               The CPU this CLA is attached to.
> + * @dev:               The platform device.
> + */
> +struct cla_dev {

Don't abbreviate compulsively, cla is fine, I would
call it cla_device.

> +       unsigned int cpu;
> +       struct device *dev;
> +};

I will argue in other patches that this should be a proper
struct device and not a pointer to a platform_devcive
&pdev->dev.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list