]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: zynq_sdhci: Remove device_is_compatible() function
authorPadmarao Begari <padmarao.begari@amd.com>
Fri, 13 Sep 2024 09:31:57 +0000 (15:01 +0530)
committerMichal Simek <michal.simek@amd.com>
Fri, 20 Sep 2024 13:31:19 +0000 (15:31 +0200)
commitbde2e728ceba6b268b2de84a4404d4227d2df47c
tree9aaf147900fbc0f86b1d139b683909b9f80a2b00
parent290385f374fba69f9c4f473c8bd25d64935a4c82
mmc: zynq_sdhci: Remove device_is_compatible() function

There are lot of device_is_compatible() present in the driver.
Remove them and replace with a variables "SDHCI_COMPATIBLE_SDHCI_89A"
and "SDHCI_COMPATIBLE_VERSAL_NET_EMMC" with match data.
This change saves the space and reduce the execution time.

Signed-off-by: Padmarao Begari <padmarao.begari@amd.com>
Link: https://lore.kernel.org/r/20240913093157.2343476-1-padmarao.begari@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
drivers/mmc/zynq_sdhci.c