From f09e88a9faf747baea3f9fa534440c4b0781033a Mon Sep 17 00:00:00 2001 From: Mingjie Shen Date: Mon, 22 May 2023 16:10:05 -0400 Subject: [PATCH] usb_pd: Remove const modifier on a function return type A 'const' modifier on a function return type is useless and should be removed for clarity. Signed-off-by: Mingjie Shen --- include/usb_pd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/usb_pd.h b/include/usb_pd.h index 46222ea14a..d5e055e9bd 100644 --- a/include/usb_pd.h +++ b/include/usb_pd.h @@ -2702,7 +2702,7 @@ bool pd_capable(int port); * * @param port USB-C port number */ -const uint32_t * const pd_get_src_caps(int port); +const uint32_t *pd_get_src_caps(int port); /** * Returns the number of source caps