ufs: core: initial cleanup and defines sync with Linux v6.12 This serie fixes the build and checkpatch warnings, and does a split of the ufs.h into a separate ufshci.h which helps syndhronizing the defines from Linux v6.12. No functional changes intended, tests on hardware are welcome. To: Bhupesh Sharma <bhupesh.linux@gmail.com> To: Neha Malcom Francis <n-francis@ti.com> To: Tom Rini <trini@konsulko.com> Cc: michal.simek@amd.com CC: marek.vasut+renesas@mailbox.org Cc: bmeng.cn@gmail.com Cc: venkatesh.abbarapu@amd.com Cc: u-boot@lists.denx.de Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> --- Changes in v2: - Colect tested & review tags - drop EXPORT SYMBOL of ufshcd_map_desc_id_to_length in patch 2 - Link to v1: https://lore.kernel.org/r/20241120-topic-ufs-cleanup-v1-0-a5cef54b1cdc@linaro.org --- Neil Armstrong (6): ufs: core: include missing include/ufs.h ufs: core: mark unexported functions as static ufs: core: cosmetic fixups ufs: core: move ufshci defines in a separate header ufs: core: sync unipro.h with Linux v6.12 ufs: core: sync ufshci.h with Linux v6.12 drivers/ufs/ufs.c | 44 +++-- drivers/ufs/ufs.h | 335 +----------------------------------- drivers/ufs/ufshci.h | 469 +++++++++++++++++++++++++++++++++++++++++++++++++++ drivers/ufs/unipro.h | 128 ++++++++------ 4 files changed, 571 insertions(+), 405 deletions(-) --- base-commit: d580a013cca67a8115fb88d260498bde181709a1 change-id: 20241120-topic-ufs-cleanup-23671e3fc9e9 Best regards,