]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: tps51632: Get regulator name from i2c_client
authorMikko Perttunen <mperttunen@nvidia.com>
Tue, 18 Jun 2013 10:30:13 +0000 (13:30 +0300)
committerMark Brown <broonie@linaro.org>
Sun, 24 Nov 2013 13:57:15 +0000 (13:57 +0000)
commitc9429c9f31084f26db994c9ffbaa6d7a3e217f2b
tree7096425a9e0332022c7bbfa5be44044b23741844
parent446a01ebfd5c46dcad993153e533f5f1d30e2d44
regulator: tps51632: Get regulator name from i2c_client

Commit "i2c: core: make it possible to match a pure device tree driver"
changed semantics of the i2c probing for device tree devices.
Device tree probed devices now get a NULL i2c_device_id pointer.
This causes the regulator name to be set to NULL and the regulator
registration to fail.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/tps51632-regulator.c