diff options
author | Tzung-Bi Shih <tzungbi@kernel.org> | 2025-08-28 11:35:57 +0300 |
---|---|---|
committer | Tzung-Bi Shih <tzungbi@kernel.org> | 2025-09-14 06:34:41 +0300 |
commit | 918856986014142271a70a334d300994b9c41720 (patch) | |
tree | 9bd31c49c6fd2be28ed450b75ca7cbb45fb3b2f6 /rust/kernel/irq/request.rs | |
parent | f7439a723e5aa5b35c76355e1b9b2cd1108f656e (diff) | |
download | linux-918856986014142271a70a334d300994b9c41720.tar.xz |
platform/chrome: Centralize cros_ec_device allocation
Introduce a helper function, cros_ec_device_alloc(), to centralize the
allocation of the struct cros_ec_device. Convert all protocol device
drivers to use this new function.
This is a preparatory step for separating common initialization logic
out of device drivers' probe() and cros_ec_register().
Link: https://lore.kernel.org/r/20250828083601.856083-2-tzungbi@kernel.org
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Diffstat (limited to 'rust/kernel/irq/request.rs')
0 files changed, 0 insertions, 0 deletions