[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9B1A3736CA9445A9A96F14E0B8ED18B1@hacdom.okisemi.com>
Date: Wed, 2 Mar 2011 12:18:35 +0900
From: "Tomoya MORINAGA" <tomoya-linux@....okisemi.com>
To: "'Ben Dooks'" <ben-i2c@...ff.org>
Cc: "'Jean Delvare'" <khali@...ux-fr.org>,
"'Ben Dooks'" <ben-linux@...ff.org>,
"'Seth Heasley'" <seth.heasley@...el.com>,
"'Linus Walleij'" <linus.walleij@...ricsson.com>,
"'Samuel Ortiz'" <sameo@...ux.intel.com>,
<linux-i2c@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<qi.wang@...el.com>, <yong.y.wang@...el.com>,
<joel.clark@...el.com>, <kok.howg.ewe@...el.com>,
<toshiharu-linux@....okisemi.com>
Subject: RE: [PATCH v3] i2c-eg20t: support new device OKI SEMICONDUCTOR ML7213 IOH
Hi Ben,
On Wednesday, March 02, 2011 9:39 AM, Ben Dooks wrote:
> Ok, will apply to i2c-next.
Thank you for your applying.
> > +/* Definition for ML7213 by OKI SEMICONDUCTOR */
> > +#define PCI_VENDOR_ID_ROHM 0x10DB
> > +#define PCI_DEVICE_ID_ML7213_I2C 0x802D
>
> we should get this moved to a pci header file at somepoint.
Do you mean include/linux/pci_ids ?
> > + strcpy(pch_adap->name, KBUILD_MODNAME);
>
> really should be strlcpy() and ensure that the string length is used.
OK.
We will update in next update.
> > - pch_i2c_init(&adap_info->pch_data);
> > + pch_i2c_init(&adap_info->pch_data[i]);
> > + }
> > ret = request_irq(pdev->irq, pch_i2c_handler, IRQF_SHARED,
> > - KBUILD_MODNAME,&adap_info->pch_data);
> > + KBUILD_MODNAME, adap_info);
>
> how about using dev_name() of the platform device to register
> these things?
Sorry, I can't understand your saying.
Could you explain in more detail ?
Thanks,
-----------------------------------------
Tomoya MORINAGA
OKI SEMICONDUCTOR CO., LTD.
--
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