diff mbox series

usb: chipidea: npcm: Fix coding style with clarification of data type

Message ID 20240903132535.15554-1-andreas.kuehn@diekuehnen.com
State New
Headers show
Series usb: chipidea: npcm: Fix coding style with clarification of data type | expand

Commit Message

Andreas Kühn Sept. 3, 2024, 1:25 p.m. UTC
Fixed coding style issue: unsigned to unsigned int.

Signed-off-by: Andreas Kühn <andreas.kuehn@diekuehnen.com>
---
 drivers/usb/chipidea/ci_hdrc_npcm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Peter Chen Sept. 5, 2024, 7:46 a.m. UTC | #1
On 24-09-03 15:25:15, Andreas Kühn wrote:
> Fixed coding style issue: unsigned to unsigned int.
> 
> Signed-off-by: Andreas Kühn <andreas.kuehn@diekuehnen.com>

Acked-by: Peter Chen <peter.chen@kernel.org>


> ---
>  drivers/usb/chipidea/ci_hdrc_npcm.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/usb/chipidea/ci_hdrc_npcm.c b/drivers/usb/chipidea/ci_hdrc_npcm.c
> index c89c68f41ccc..3e5e05dbda89 100644
> --- a/drivers/usb/chipidea/ci_hdrc_npcm.c
> +++ b/drivers/usb/chipidea/ci_hdrc_npcm.c
> @@ -18,7 +18,7 @@ struct npcm_udc_data {
>  	struct ci_hdrc_platform_data pdata;
>  };
>  
> -static int npcm_udc_notify_event(struct ci_hdrc *ci, unsigned event)
> +static int npcm_udc_notify_event(struct ci_hdrc *ci, unsigned int event)
>  {
>  	struct device *dev = ci->dev->parent;
>  
> -- 
> 2.43.0
>
diff mbox series

Patch

diff --git a/drivers/usb/chipidea/ci_hdrc_npcm.c b/drivers/usb/chipidea/ci_hdrc_npcm.c
index c89c68f41ccc..3e5e05dbda89 100644
--- a/drivers/usb/chipidea/ci_hdrc_npcm.c
+++ b/drivers/usb/chipidea/ci_hdrc_npcm.c
@@ -18,7 +18,7 @@  struct npcm_udc_data {
 	struct ci_hdrc_platform_data pdata;
 };
 
-static int npcm_udc_notify_event(struct ci_hdrc *ci, unsigned event)
+static int npcm_udc_notify_event(struct ci_hdrc *ci, unsigned int event)
 {
 	struct device *dev = ci->dev->parent;