]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: max8660: Handle empty regulator data
authorMarkus Pargmann <mpa@pengutronix.de>
Fri, 10 Apr 2015 13:23:42 +0000 (15:23 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 10 Apr 2015 17:17:53 +0000 (18:17 +0100)
commit3f019e925384030878a809b64d211c14ef162429
tree49c30d63791ded52d3bf221b621beecab57c087a
parenta7fc4439a47f3f73845f1b4dc544ed2cdcb6033c
regulator: max8660: Handle empty regulator data

It is not necessary to have regulator init data for a regulator. This
patch removes the necessity of this data and handles a NULL pointer
properly.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/max8660.c