[linux-yocto] [PATCH 05/29] i2c: core: fix typo in comment

Paul Gortmaker paul.gortmaker at windriver.com
Sun Feb 7 14:12:22 PST 2016


[[linux-yocto] [PATCH 05/29] i2c: core: fix typo in comment] On 05/02/2016 (Fri 06:53) Saul Wold wrote:

> From: Shailendra Verma <shailendra.capricorn at gmail.com>
> 
> Signed-off-by: Shailendra Verma <shailendra.capricorn at gmail.com>
> Signed-off-by: Wolfram Sang <wsa at the-dreams.de>
> 
> Upstream-status: Backport
> Signed-off-by: Saul Wold <sgw at linux.intel.com>
> ---
>  drivers/i2c/i2c-core.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/i2c/i2c-core.c b/drivers/i2c/i2c-core.c
> index bfd8e1c..eefb200 100644
> --- a/drivers/i2c/i2c-core.c
> +++ b/drivers/i2c/i2c-core.c
> @@ -1677,7 +1677,7 @@ void i2c_del_adapter(struct i2c_adapter *adap)
>  	 * FIXME: This is old code and should ideally be replaced by an
>  	 * alternative which results in decoupling the lifetime of the struct
>  	 * device from the i2c_adapter, like spi or netdev do. Any solution
> -	 * should be throughly tested with DEBUG_KOBJECT_RELEASE enabled!
> +	 * should be thoroughly tested with DEBUG_KOBJECT_RELEASE enabled!

I typically tell people to drop these from a BSP series unless the
comment error is a genuine misleading logic error (not that here), or if
the context of the error appears multiple times in the other patches in
the series (maybe that applies here?)

>  	 */
>  	init_completion(&adap->dev_released);
>  	device_unregister(&adap->dev);
> -- 
> 2.5.0
> 
> -- 
> _______________________________________________
> linux-yocto mailing list
> linux-yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/linux-yocto


More information about the linux-yocto mailing list