From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergei Shtylyov Date: Thu, 08 May 2014 23:23:11 +0000 Subject: Re: [PATCH v3 2/7] adv7180: add of match table Message-Id: <536C11DF.1000407@cogentembedded.com> List-Id: References: <1397471802-27216-3-git-send-email-ben.dooks@codethink.co.uk> In-Reply-To: <1397471802-27216-3-git-send-email-ben.dooks@codethink.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-sh@vger.kernel.org Hello. On 04/14/2014 02:36 PM, Ben Dooks wrote: > Add a proper of match id for use when the device is being bound via > device tree, to avoid having to use the i2c old-style binding of the > device. > Signed-off-by: Ben Dooks From looking at of_i2c_register_devices() in drivers/i2c/i2c-core.c, I got an impression we don't need this patch. This function builds the I2C device name by calling of_modalias_node() which just strips the vendor prefix (if any) from the "compatible" prop. WBR, Sergei