soc/fsl/bman: Use resource_size instead of computation
authorWei Yongjun <weiyongjun1@huawei.com>
Mon, 17 Oct 2016 15:13:59 +0000 (15:13 +0000)
committerScott Wood <oss@buserror.net>
Mon, 5 Dec 2016 01:54:40 +0000 (19:54 -0600)
commitd7544424169e0ba1ffdc39edbdfa822711a59c5f
treeef684c869f08031da96f895889b44bdcdb118f25
parentc9492b4bea2630dacd18e16f8e8b0dcf91a6edcf
soc/fsl/bman: Use resource_size instead of computation

Use resource_size function on resource object
instead of explicit computation.

Generated by: scripts/coccinelle/api/resource_size.cocci

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Scott Wood <oss@buserror.net>
drivers/soc/fsl/qbman/bman_ccsr.c