mfd: mcp-sa11x0: Use DIV_ROUND_UP to calculate rw_timeout
authorZheng Yongjun <zhengyongjun3@huawei.com>
Tue, 22 Dec 2020 13:33:26 +0000 (21:33 +0800)
committerLee Jones <lee.jones@linaro.org>
Mon, 8 Feb 2021 13:54:10 +0000 (13:54 +0000)
commitab099cc6e5d488d60c72f41a696f5c8ec159f9f1
tree64d3c983b9bbf1e01c9962c07f9f3d256d929818
parent9c03008da125c1007919a9186628af3cc105f526
mfd: mcp-sa11x0: Use DIV_ROUND_UP to calculate rw_timeout

Don't open-code DIV_ROUND_UP() kernel macro.

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/mcp-sa11x0.c