[RFC] Rework of i2c-mpc.c - Freescale i2c driver
scottwood at freescale.com
Wed Nov 7 04:02:45 EST 2007
Jon Smirl wrote:
> On 11/5/07, Scott Wood <scottwood at freescale.com> wrote:
>>>>> One side effect is that legacy style i2c drivers won't work anymore.
>>>> If you mean legacy-style client drivers, why not?
>>> i2c_new_device() doesn't work with legacy-style client drivers.
>> No, but they should still work the old way.
> I'm not in favor trying to support both legacy and new style i2c
I don't understand what it is that you did that would break support for
legacy clients, though.
> It took me all of five minutes to convert an existing legacy
> driver to the new style. Pretty much all you need to do is delete code
> (about 100 lines). So I'd recommend converting the drivers we are
> interest in instead of trying to support both types.
Sure, conversion is good, but that doesn't mean we want things to
suddenly break for users.
More information about the Linuxppc-dev