platform/x86: apple-gmux: use resource_size() with res
This should be (res->end - res->start + 1) here actually, use resource_size() derectly. Signed-off-by: NWang Qing <wangqing@vivo.com> Link: https://lore.kernel.org/r/1639484316-75873-1-git-send-email-wangqing@vivo.comReviewed-by: NHans de Goede <hdegoede@redhat.com> Signed-off-by: NHans de Goede <hdegoede@redhat.com>
Showing
想要评论请 注册 或 登录