diff options
| author | Tzung-Bi Shih <tzungbi@kernel.org> | 2026-05-25 05:26:51 +0000 |
|---|---|---|
| committer | Tzung-Bi Shih <tzungbi@kernel.org> | 2026-05-28 02:17:30 +0000 |
| commit | 5ad1406881102bc3e94fd25311d1728dfaf435a2 (patch) | |
| tree | 5caff6c8f3d4c6f0b86922104a65ae73463fa0a3 /scripts/Makefile.thinlto | |
| parent | ace8ee71e8ef4d6ef5a6501469df95237e1f7406 (diff) | |
platform/chrome: cros_ec_chardev: Introduce chardev_data
Introduce struct chardev_pdata to hold platform driver data.
The platform driver data is allocated by kzalloc() instead of devm
variant, allowing for managed cleanup that can eventually extend beyond
device removal if files are still open.
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20260525052654.4076429-2-tzungbi@kernel.org
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
