linux-stable/drivers/platform
Wang Qing 4606bfdaeb platform/x86: apple-gmux: use resource_size() with res
[ Upstream commit eb66fb03a7 ]

This should be (res->end - res->start + 1) here actually,
use resource_size() derectly.

Signed-off-by: Wang Qing <wangqing@vivo.com>
Link: https://lore.kernel.org/r/1639484316-75873-1-git-send-email-wangqing@vivo.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-01-05 12:37:43 +01:00
..
chrome platform/chrome: cros_ec_proto: Send command again when timeout occurs 2021-09-22 12:26:38 +02:00
goldfish treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
mellanox platform/mellanox: mlxreg-io: Fix argument base in kstrtou32() call 2021-10-20 11:40:17 +02:00
mips MIPS: Loongson: Fix return value of loongson_hwmon_init 2020-01-17 19:48:55 +01:00
olpc Platform: OLPC: Fix probe error handling 2021-03-17 17:03:42 +01:00
x86 platform/x86: apple-gmux: use resource_size() with res 2022-01-05 12:37:43 +01:00
Kconfig platform-drivers-x86 for v5.3-1 2019-07-14 16:51:47 -07:00
Makefile Platform: OLPC: Add XO-1.75 EC driver 2019-05-20 17:27:08 +03:00