aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform
diff options
context:
space:
mode:
authorGravatar Lee Jones <lee.jones@linaro.org> 2016-11-07 12:47:41 +0000
committerGravatar Wolfram Sang <wsa@the-dreams.de> 2016-11-17 16:10:23 +0100
commitb8a1a4cd5a98a2adf8dfd6902cd98e57d910ee12 (patch)
tree04583b1307471c580849c19d339440c2dc2e8479 /drivers/platform
parenti2c: Export i2c_match_id() for direct use by device drivers (diff)
downloadlinux-b8a1a4cd5a98.tar.gz
linux-b8a1a4cd5a98.tar.bz2
linux-b8a1a4cd5a98.zip
i2c: Provide a temporary .probe_new() call-back type
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: Grant Likely <grant.likely@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org> [Kieran: fix rebase conflicts and adapt for dev_pm_domain_{attach,detach}] Tested-by: Kieran Bingham <kieran@bingham.xyz> Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com> Tested-by: Javier Martinez Canillas <javier@osg.samsung.com> Signed-off-by: Kieran Bingham <kieran@bingham.xyz> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/platform')
0 files changed, 0 insertions, 0 deletions