]> git.karo-electronics.de Git - karo-tx-linux.git/commit
regulator: ti-abb: Convert to use devm_ioremap_resource
authorTushar Behera <tushar.behera@linaro.org>
Tue, 18 Jun 2013 04:15:07 +0000 (09:45 +0530)
committerMark Brown <broonie@linaro.org>
Tue, 18 Jun 2013 11:57:08 +0000 (12:57 +0100)
commitd26ec830f5d7345cc501ff6fe9d44c7e23930432
treed96fed40a19c33a536b5107509af44670815e481
parentf5cd8de2ce32e25e399f1d49d4876bf9450163a2
regulator: ti-abb: Convert to use devm_ioremap_resource

Commit 75096579c3ac ("lib: devres: Introduce devm_ioremap_resource()")
introduced devm_ioremap_resource() and deprecated the use of
devm_request_and_ioremap().

While at it, remove the error message as devm_ioremap_resource prints a similar
error message.

Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/ti-abb-regulator.c