summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorWang Qing <wangqing@vivo.com>2021-12-14 04:18:36 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-01-05 12:37:43 +0100
commit4606bfdaeb1695ba26b9da90536981612b5ffa06 (patch)
treed25a8056a6454437418cf5e8915554e1ec0f24b5 /include/linux
parent930d4986a432e89447ebf38be5244732c58ec9a3 (diff)
platform/x86: apple-gmux: use resource_size() with res
[ Upstream commit eb66fb03a727cde0ab9b1a3858de55c26f3007da ] 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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions