summaryrefslogtreecommitdiff
path: root/drivers/regulator/s2mps11.c
diff options
context:
space:
mode:
authorTuomas Tynkkynen <ttynkkynen@nvidia.com>2013-06-18 13:14:41 +0300
committerMark Brown <broonie@linaro.org>2013-06-18 12:45:09 +0100
commit0a62d03b4844988c5477f13bd17c3553f816ce87 (patch)
tree2179be4814fedc7633f2d0db130d4f00d230e87f /drivers/regulator/s2mps11.c
parent7d132055814ef17a6c7b69f342244c410a5e000f (diff)
downloadlinux-next-0a62d03b4844988c5477f13bd17c3553f816ce87.tar.gz
regulator: tps62360: Fix crash in i2c_driver .probe
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 caused kernel panics due to NULL dereference. Tested-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tuomas Tynkkynen <ttynkkynen@nvidia.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/regulator/s2mps11.c')
0 files changed, 0 insertions, 0 deletions