platform/chrome: cros_ec_proto: Rename cros_ec_command function
authorPrashant Malani <pmalani@chromium.org>
Mon, 6 Jun 2022 20:18:03 +0000 (20:18 +0000)
committerTzung-Bi Shih <tzungbi@kernel.org>
Wed, 8 Jun 2022 08:14:53 +0000 (08:14 +0000)
commitb1d288d9c3c5ca28df062214656a59cf7ee370e0
tree70b817fddceda6aa01efe712dbfc7be331aa896c
parent015cd0043503a1691ba28529e21478fe0822f3ff
platform/chrome: cros_ec_proto: Rename cros_ec_command function

cros_ec_command() is the name of a function as well as a struct, as such
it can confuse indexing tools (like ctags). Avoid this by renaming it to
cros_ec_cmd(). Update all the callsites to use the new name.

This patch is a find-and-replace, so should not introduce any functional
changes.

Suggested-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Prashant Malani <pmalani@chromium.org>
Acked-by: Lee Jones <lee.jones@linaro.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Link: https://lore.kernel.org/r/20220606201825.763788-3-pmalani@chromium.org
drivers/mfd/cros_ec_dev.c
drivers/platform/chrome/cros_ec_proto.c
drivers/platform/chrome/cros_ec_typec.c
drivers/platform/chrome/cros_usbpd_notify.c
drivers/regulator/cros-ec-regulator.c
include/linux/platform_data/cros_ec_proto.h