ping...

2015-09-07 11:08 GMT+08:00 Barry Song <[email protected]>:
> This code is repeated in probe:
> i2c_dev->adapter.algo = &tegra_i2c_algo;
>
> Cc: Donglin Peng <[email protected]>
> Signed-off-by: Barry Song <[email protected]>
> ---
>  drivers/i2c/busses/i2c-tegra.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers/i2c/busses/i2c-tegra.c
> index 78a3668..9ab720b 100644
> --- a/drivers/i2c/busses/i2c-tegra.c
> +++ b/drivers/i2c/busses/i2c-tegra.c
> @@ -825,7 +825,6 @@ static int tegra_i2c_probe(struct platform_device *pdev)
>         i2c_dev->adapter.class = I2C_CLASS_DEPRECATED;
>         strlcpy(i2c_dev->adapter.name, "Tegra I2C adapter",
>                 sizeof(i2c_dev->adapter.name));
> -       i2c_dev->adapter.algo = &tegra_i2c_algo;
>         i2c_dev->adapter.dev.parent = &pdev->dev;
>         i2c_dev->adapter.nr = pdev->id;
>         i2c_dev->adapter.dev.of_node = pdev->dev.of_node;
> --
> 1.9.1
>
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to