commit | eb66fb03a727cde0ab9b1a3858de55c26f3007da | [log] [tgz] |
---|---|---|
author | Wang Qing <wangqing@vivo.com> | Tue Dec 14 04:18:36 2021 -0800 |
committer | Hans de Goede <hdegoede@redhat.com> | Tue Dec 21 19:35:33 2021 +0100 |
tree | f6fa66120b85055dc97083163f3bdd783919d790 | |
parent | 09fc14061f3ed28899c23b8714c066946fdbd43e [diff] |
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: 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>