diff options
author | Dmitry Baryshkov <[email protected]> | 2024-06-27 17:44:41 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-07-03 16:04:49 +0200 |
commit | 13f2ec3115c845d7f2cd5525316ef4a3fbe908e3 (patch) | |
tree | 7c40d9ee6441c508508031691aac78aeb9faf0c4 /lib/memory-notifier-error-inject.c | |
parent | a7d2fa776976294d39d4cf36b25ca43be8325c3f (diff) |
usb: typec: ucsi: simplify command sending API
The sync_write and async_write are used only for writing UCSI commands
to the UCSI_CONTROL offsets. Rename sync_write and async_write
operations to sync_control and async_control accordingly. Drop the
offset and length fields and pass u64 command instead.
Tested-by: Heikki Krogerus <[email protected]>
Reviewed-by: Heikki Krogerus <[email protected]>
Signed-off-by: Dmitry Baryshkov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions