On Wed, Jun 13, 2012 at 10:12 PM, Wolfram Sang <[email protected]> wrote:
> Currently, every driver has to do it on its own, but it should be done
> in the core, like we already do with board_info structs.
>
> Signed-off-by: Wolfram Sang <[email protected]>
> ---


> diff --git a/drivers/i2c/busses/i2c-designware-platdrv.c 
> b/drivers/i2c/busses/i2c-designware-platdrv.c
> index 0506fef..cf3b23c 100644
> --- a/drivers/i2c/busses/i2c-designware-platdrv.c
> +++ b/drivers/i2c/busses/i2c-designware-platdrv.c
> @@ -147,7 +147,6 @@ static int __devinit dw_i2c_probe(struct platform_device 
> *pdev)
>                dev_err(&pdev->dev, "failure adding adapter\n");
>                goto err_free_irq;
>        }
> -       of_i2c_register_devices(adap);
>
>        return 0;

For SPEAr,

Reviewed-by: Viresh Kumar <[email protected]>
_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to