ec/google/chromeec: Fix typo in google_chromeec_get_pd_chip_info

An unintended suffix got added in google_chromeec_get_pd_chip_info. Fix
the typo by removing that suffix.

BUG=None
TEST=Build Brox BIOS image and boot to OS.

Change-Id: I76048ec1ed6b4387098fecf35ccc5b1c1742abb0
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/85005
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Caveh Jalali <caveh@chromium.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
This commit is contained in:
Karthikeyan Ramasubramanian 2024-11-05 09:49:04 -07:00 committed by Karthik Ramasubramanian
commit ede97c29c6
2 changed files with 2 additions and 2 deletions

View file

@ -1170,7 +1170,7 @@ int google_chromeec_get_num_pd_ports(unsigned int *num_ports)
return 0;
}
int google_chromeec_get_pd_chip_infoi(int port, int renew,
int google_chromeec_get_pd_chip_info(int port, int renew,
struct ec_response_pd_chip_info *r)
{
const struct ec_params_pd_chip_info p = {

View file

@ -346,7 +346,7 @@ int google_chromeec_get_num_pd_ports(unsigned int *num_ports);
*
* @return 0 if ok, -1 on error
*/
int google_chromeec_get_pd_chip_infoi(int port, int renew,
int google_chromeec_get_pd_chip_info(int port, int renew,
struct ec_response_pd_chip_info *r);
/* Structure representing the capabilities of a USB-PD port */