mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/5] platform/chrome: Make cros_ec_pd_command() reusable
@ 2021-09-30  2:23 Prashant Malani
  2021-09-30  2:23 ` [PATCH 1/5] platform/chrome: cros_usbpd_notify: Rename cros_ec_pd_command() Prashant Malani
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Prashant Malani @ 2021-09-30  2:23 UTC (permalink / raw)
  To: linux-kernel
  Cc: Prashant Malani, Benson Leung, Enric Balletbo i Serra,
	Guenter Roeck, Gustavo A. R. Silva

This is a short series to relocate and rename cros_ec_pd_command() to
cros_ec_proto.c. This function is useful for sending host command
messages, so the 1st 4 patches move it a more central location, and
modify the arguments to allow other users to use it.

The final patch updates cros-ec-typec to use the new function and get
rid of its own copy.

Prashant Malani (5):
  platform/chrome: cros_usbpd_notify: Rename cros_ec_pd_command()
  platform/chrome: cros_usbpd_notify: Move ec_command()
  platform/chrome: cros_ec_proto: Make data pointers void
  platform/chrome: cros_ec_proto: Add version for ec_command
  platform/chrome: cros_ec_typec: Use cros_ec_command()

 drivers/platform/chrome/cros_ec_proto.c     | 48 ++++++++++++++
 drivers/platform/chrome/cros_ec_typec.c     | 69 ++++++---------------
 drivers/platform/chrome/cros_usbpd_notify.c | 50 +--------------
 include/linux/platform_data/cros_ec_proto.h |  3 +
 4 files changed, 72 insertions(+), 98 deletions(-)

-- 
2.33.0.685.g46640cef36-goog


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-09-30  7:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-30  2:23 [PATCH 0/5] platform/chrome: Make cros_ec_pd_command() reusable Prashant Malani
2021-09-30  2:23 ` [PATCH 1/5] platform/chrome: cros_usbpd_notify: Rename cros_ec_pd_command() Prashant Malani
2021-09-30  2:23 ` [PATCH 2/5] platform/chrome: cros_usbpd_notify: Move ec_command() Prashant Malani
2021-09-30  2:23 ` [PATCH 3/5] platform/chrome: cros_ec_proto: Make data pointers void Prashant Malani
2021-09-30  2:23 ` [PATCH 4/5] platform/chrome: cros_ec_proto: Add version for ec_command Prashant Malani
2021-09-30  2:23 ` [PATCH 5/5] platform/chrome: cros_ec_typec: Use cros_ec_command() Prashant Malani
2021-09-30  7:25 ` [PATCH 0/5] platform/chrome: Make cros_ec_pd_command() reusable Enric Balletbo i Serra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®