]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
i2c: Make I2C ID tables non-mandatory for DT'ed devices
authorLee Jones <lee.jones@linaro.org>
Mon, 7 Nov 2016 12:47:39 +0000 (12:47 +0000)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 17 Nov 2016 15:10:21 +0000 (16:10 +0100)
commitda10c06a044b3752f9162a88b7d26ed2409c5314
tree9ea026e319d79e7d0671cdbb50961a3c5e411966
parent298d4de1ed003ad91cb49e068d744db0343cacb6
i2c: Make I2C ID tables non-mandatory for DT'ed devices

Currently the I2C framework insists on devices supplying an I2C ID
table.  Many of the devices which do so unnecessarily adding quite a
few wasted lines to kernel code.  This patch allows drivers a means
to 'not' supply the aforementioned table and match on DT match tables
instead.

Acked-by: Grant Likely <grant.likely@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
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>
drivers/i2c/i2c-core.c