summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorTzung-Bi Shih <tzungbi@kernel.org>2026-05-25 08:26:51 +0300
committerTzung-Bi Shih <tzungbi@kernel.org>2026-05-28 05:17:30 +0300
commit5ad1406881102bc3e94fd25311d1728dfaf435a2 (patch)
tree5caff6c8f3d4c6f0b86922104a65ae73463fa0a3 /include/linux
parentace8ee71e8ef4d6ef5a6501469df95237e1f7406 (diff)
downloadlinux-5ad1406881102bc3e94fd25311d1728dfaf435a2.tar.xz
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 'include/linux')
0 files changed, 0 insertions, 0 deletions