regulator: core: optimize devm_regulator_bulk_get()
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 3 Feb 2017 23:16:18 +0000 (15:16 -0800)
committerMark Brown <broonie@kernel.org>
Sat, 4 Feb 2017 10:37:25 +0000 (11:37 +0100)
commit3eaeb4756336ad884a2a8eef3ca9e12845fb5391
treefc52e7ac67545c33f60a05179562a2ebecc076c3
parentb8c77ff6902baa6ca93ca643bfff2d565801ea30
regulator: core: optimize devm_regulator_bulk_get()

When performing this bulk operation, there is no need to track every supply
individually. It is more efficient to treat entire group as a single
managed resource.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/devres.c