[PATCH] ARM: at91: sam9_smc: remove redundant SAMA5D2 check
Sascha Hauer
s.hauer at pengutronix.de
Fri Jun 20 04:46:59 PDT 2025
On Fri, 20 Jun 2025 11:07:15 +0300, Alexander Shiyan wrote:
> The SAMA5D2 SoC uses a different SMC driver implementation (located in
> drivers/mfd/atmel-smc.c) and doesn't utilize this low-level sam9_smc
> driver. The check for AT91_SOC_SAMA5D2 in the read mode function is
> therefore redundant and can be safely removed.
>
> This cleanup eliminates dead code and improves maintainability by
> removing an unused codepath. No functional changes are introduced.
>
> [...]
Applied, thanks!
[1/1] ARM: at91: sam9_smc: remove redundant SAMA5D2 check
https://git.pengutronix.de/cgit/barebox/commit/?id=cdde08be1a5a (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list