lkml.org 
[lkml]   [2021]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 14/16] i2c: busses: i2c-stm32f4: Remove incorrectly placed ' ' from function name
    Thanks for the patch. Looks fine for me.

    Reviewed-by: Alain Volmat <alain.volmat@foss.st.com>

    On Thu, May 20, 2021 at 08:01:03PM +0100, Lee Jones wrote:
    > Fixes the following W=1 kernel build warning(s):
    >
    > drivers/i2c/busses/i2c-stm32f4.c:321: warning: expecting prototype for stm32f4_i2c_write_ byte()(). Prototype was for stm32f4_i2c_write_byte() instead
    >
    > Cc: Pierre-Yves MORDRET <pierre-yves.mordret@foss.st.com>
    > Cc: Alain Volmat <alain.volmat@foss.st.com>
    > Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
    > Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
    > Cc: Philipp Zabel <p.zabel@pengutronix.de>
    > Cc: Cedric Madianga <cedric.madianga@gmail.com>
    > Cc: linux-i2c@vger.kernel.org
    > Cc: linux-stm32@st-md-mailman.stormreply.com
    > Cc: linux-arm-kernel@lists.infradead.org
    > Signed-off-by: Lee Jones <lee.jones@linaro.org>
    > ---
    > drivers/i2c/busses/i2c-stm32f4.c | 2 +-
    > 1 file changed, 1 insertion(+), 1 deletion(-)
    >
    > diff --git a/drivers/i2c/busses/i2c-stm32f4.c b/drivers/i2c/busses/i2c-stm32f4.c
    > index 4933fc8ce3fd1..eebce7ecef25b 100644
    > --- a/drivers/i2c/busses/i2c-stm32f4.c
    > +++ b/drivers/i2c/busses/i2c-stm32f4.c
    > @@ -313,7 +313,7 @@ static int stm32f4_i2c_wait_free_bus(struct stm32f4_i2c_dev *i2c_dev)
    > }
    >
    > /**
    > - * stm32f4_i2c_write_ byte() - Write a byte in the data register
    > + * stm32f4_i2c_write_byte() - Write a byte in the data register
    > * @i2c_dev: Controller's private data
    > * @byte: Data to write in the register
    > */
    > --
    > 2.31.1
    >

    \
     
     \ /
      Last update: 2021-05-21 16:21    [W:4.181 / U:0.064 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site