# \[PATCH V2 1/2\] efi/fb: Simplify fixup code to prefer struct resource

- From: Bartlomiej Zolnierkiewicz \<hidden\>
- Date: 2018-06-22 10:12:03 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2018/06/5314457
- Thread: https://ratatoskr.run/linux-fbdev/2018/05/5287459/t.md

```text
On Wednesday, June 13, 2018 05:42:11 PM Ard Biesheuvel wrote:
> On 18 May 2018 at 16:17, Sinan Kaya [ref] wrote:
> > Get rid of base and size variables in favor of a struct resource.
> > The conditional for checking window can be replaced with
> > resource_contains().
> >
> > Signed-off-by: Sinan Kaya <redacted>
> 
> Reviewed-by: Ard Biesheuvel <redacted>

Acked-by: Bartlomiej Zolnierkiewicz <redacted>

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
```
