From mboxrd@z Thu Jan 1 00:00:00 1970 From: Javier Martinez Canillas Subject: Re: [PATCHv5 5/8] i2c: Export i2c_match_id() for direct use by device drivers Date: Tue, 10 May 2016 01:02:52 -0400 Message-ID: References: <1462374888-22888-1-git-send-email-kieran@bingham.xyz> <1462374888-22888-6-git-send-email-kieran@bingham.xyz> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1462374888-22888-6-git-send-email-kieran@bingham.xyz> Sender: linux-kernel-owner@vger.kernel.org To: Kieran Bingham , Wolfram Sang , Lee Jones Cc: linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, grant.likely@linaro.org, sameo@linux.intel.com List-Id: linux-i2c@vger.kernel.org On 05/04/2016 11:14 AM, Kieran Bingham wrote: > From: Lee Jones > > When there was no other way to match a I2C device to driver i2c_match_id() > was exclusively used. However, now there are other types of tables which > are commonly supplied, matching on an i2c_device_id table is used less > frequently. Instead of _always_ calling i2c_match_id() from within the > framework, we only need to do so from drivers which have no other way of > matching. This patch makes i2c_match_id() available to the aforementioned > device drivers. > > Acked-by: Grant Likely > Signed-off-by: Lee Jones > Signed-off-by: Kieran Bingham > Tested-by: Kieran Bingham > --- Reviewed-by: Javier Martinez Canillas Tested-by: Javier Martinez Canillas Best regards, -- Javier Martinez Canillas Open Source Group Samsung Research America