diff mbox series

i2c: exynos5: correct top kerneldoc

Message ID 20210405181405.52189-1-krzysztof.kozlowski@canonical.com
State New
Headers show
Series i2c: exynos5: correct top kerneldoc | expand

Commit Message

Krzysztof Kozlowski April 5, 2021, 6:14 p.m. UTC
The top comment is not a kerneldoc, as W=1 build reports:

  drivers/i2c/busses/i2c-exynos5.c:39: warning:
    expecting prototype for i2c(). Prototype was for HSI2C_CTL() instead

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
---
 drivers/i2c/busses/i2c-exynos5.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Wolfram Sang April 6, 2021, 8:33 p.m. UTC | #1
On Mon, Apr 05, 2021 at 08:14:05PM +0200, Krzysztof Kozlowski wrote:
> The top comment is not a kerneldoc, as W=1 build reports:

> 

>   drivers/i2c/busses/i2c-exynos5.c:39: warning:

>     expecting prototype for i2c(). Prototype was for HSI2C_CTL() instead

> 

> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>


Applied to for-current, thanks!
diff mbox series

Patch

diff --git a/drivers/i2c/busses/i2c-exynos5.c b/drivers/i2c/busses/i2c-exynos5.c
index 5ac30d95650c..97d4f3ac0abd 100644
--- a/drivers/i2c/busses/i2c-exynos5.c
+++ b/drivers/i2c/busses/i2c-exynos5.c
@@ -1,5 +1,5 @@ 
 // SPDX-License-Identifier: GPL-2.0-only
-/**
+/*
  * i2c-exynos5.c - Samsung Exynos5 I2C Controller Driver
  *
  * Copyright (C) 2013 Samsung Electronics Co., Ltd.