Skip to content
Commit 551f9c38 authored by Aurelien Jarno's avatar Aurelien Jarno Committed by Kumar Gala
Browse files

drivers: flash: stm32: always define flash_stm32_flush_caches



This reduces the amount of #ifdef and keep all of them at the same
place. The empty function is then optimized-out by the compiler.

At the same time change the negative test by a positive one to simplify
adding new entries.

Signed-off-by: default avatarAurelien Jarno <aurelien@aurel32.net>
parent 8e356dbc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment