mfd: kempld-core: Use resource_size function on resource object
authorVasyl Gomonovych <gomonovych@gmail.com>
Mon, 20 Nov 2017 21:02:55 +0000 (22:02 +0100)
committerLee Jones <lee.jones@linaro.org>
Mon, 8 Jan 2018 11:03:34 +0000 (11:03 +0000)
commit263a7c57db8d59f7fdea39ea525f48d3d42ba697
treef8c7ef0a1a68ab2fb003eb30b0e3edea30527532
parent299fad6b9b6e4b50929861c701af64a36cde0f31
mfd: kempld-core: Use resource_size function on resource object

drivers/mfd/kempld-core.c:461:13-16: WARNING: Suspicious code. resource_size is maybe missing with ioport

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

Signed-off-by: Vasyl Gomonovych <gomonovych@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/kempld-core.c