Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 311e54c0 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Samuel Ortiz
Browse files

mfd: Use resource_size() in sm501



The requested memory region is smaller than the actual ioremap().
Use resource_size() to get the correct size.

Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 08b8499b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment