diff options
| author | Stephen Boyd <[email protected]> | 2018-03-23 16:34:50 +0000 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2018-03-27 13:34:07 +0000 |
| commit | e4371f6e079294369ecb4cfa03aaeb60831e8b91 (patch) | |
| tree | 8ee1a67f3f0f91859b1b9a5335ec5464fc71e59e /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | dt-bindings: gpio: Add a gpio-reserved-ranges property (diff) | |
| download | kernel-e4371f6e079294369ecb4cfa03aaeb60831e8b91.tar.gz kernel-e4371f6e079294369ecb4cfa03aaeb60831e8b91.zip | |
gpiolib: Extract mask allocation into subroutine
We're going to use similar code to allocate and set all the bits in a
mask for valid gpios to use. Extract the code from the irqchip version
so it can be reused.
Signed-off-by: Stephen Boyd <[email protected]>
Tested-by: Timur Tabi <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
