[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <479E22E0.9010105@scram.de>
Date: Mon, 28 Jan 2008 19:45:52 +0100
From: Jochen Friedrich <jochen@...am.de>
To: Bryan Wu <cooloney.lkml@...il.com>
CC: Scott Wood <scottwood@...escale.com>,
Jean Delvare <khali@...ux-fr.org>,
Kumar Gala <galak@...nel.crashing.org>,
Vitaly Bordug <vitb@...nel.crashing.org>,
"Kernel, Linux" <linux-kernel@...r.kernel.org>,
linuxppc-dev list <linuxppc-dev@...abs.org>,
Linux I2C <i2c@...sensors.org>, Jon Smirl <jonsmirl@...il.com>
Subject: Re: [PATCHv3 2.6.25] i2c: adds support for i2c bus on Freescale CPM1/CPM2
controllers
Hi Bryan,
>> +
>> + /* register new adapter to i2c module... */
>> +
>> + result = i2c_add_adapter(&cpm->adap);
>
> As I was pointed before, please use the new style i2c driver interface:
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=991dee591a99d035796a8c194eb1796cc020e142
AFAIK, the device tree currently doesn't provide an adapter id. If we're going to add this property, this would be
needed on other of_platform i2c drivers, as well.
Thanks,
Jochen
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists