-
由 Lee Jones 提交于
This will aid the seamless removal of the current probe()'s, more commonly unused than used second parameter. Most I2C drivers can simply switch over to the new interface, others which have DT support can use its own matching instead and others can call i2c_match_id() themselves. This brings I2C's device probe method into line with other similar interfaces in the kernel and prevents the requirement to pass an i2c_device_id table. Suggested-by: NGrant Likely <grant.likely@linaro.org> Signed-off-by: NLee Jones <lee.jones@linaro.org> [Kieran: fix rebase conflicts and adapt for dev_pm_domain_{attach,detach}] Tested-by: NKieran Bingham <kieran@bingham.xyz> Reviewed-by: NJavier Martinez Canillas <javier@osg.samsung.com> Tested-by: NJavier Martinez Canillas <javier@osg.samsung.com> Signed-off-by: NKieran Bingham <kieran@bingham.xyz> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
b8a1a4cd