From: Mikko Perttunen Date: Tue, 18 Jun 2013 10:30:13 +0000 (+0300) Subject: regulator: tps51632: Get regulator name from i2c_client X-Git-Tag: v3.14-rc1~92^2^5~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6930db1e989c79ce3d7b77609efffc4b5183fe4b;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed