vbe: Pass simple_priv to internal functions
authorSimon Glass <sjg@chromium.org>
Thu, 16 Jan 2025 01:27:05 +0000 (18:27 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 22 Jan 2025 15:47:49 +0000 (09:47 -0600)
commit00f521903ee3768ef2327dbcfdac9029f243f3cd
tree7502dd190358758bf773113fc35d8b04872b017a
parentb407b3e7d4a2bdd983c1836b2c6e3295a8fb7eca
vbe: Pass simple_priv to internal functions

Pass the private data instead of the device, to help the compiler
optimise better. This saves 16 bytes of code on pinecube (rk3288)

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/vbe_simple.c