]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: bcm2835-i2s: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Sat, 27 Jul 2019 15:07:13 +0000 (23:07 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 31 Jul 2019 11:05:20 +0000 (12:05 +0100)
commite0aa06bb89d90f8a3f44f4c73ba20a607d8542c6
tree082328783c64b44cfdb76deaa034660811cfa112
parent19f3a6a445beef1bfca0bc033bf0945a05c52295
ASoC: bcm2835-i2s: use devm_platform_ioremap_resource() to simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-10-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/bcm/bcm2835-i2s.c