spi: spi-nxp-fspi: remove the unchecked return value for nxp_fspi_clk_disable_unprep

For nxp_fspi_clk_disable_unprep(), no caller check the return value,
so remove the unchecked return value.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Link: https://patch.msgid.link/20250428-flexspipatch-v3-4-61d5e8f591bc@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Haibo Chen 2025-04-28 18:06:46 +08:00 committed by Mark Brown
parent 93be516f81
commit e0558eb74c
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -634,15 +634,15 @@ static int nxp_fspi_clk_prep_enable(struct nxp_fspi *f)
return 0;
}
static int nxp_fspi_clk_disable_unprep(struct nxp_fspi *f)
static void nxp_fspi_clk_disable_unprep(struct nxp_fspi *f)
{
if (is_acpi_node(dev_fwnode(f->dev)))
return 0;
return;
clk_disable_unprepare(f->clk);
clk_disable_unprepare(f->clk_en);
return 0;
return;
}
static void nxp_fspi_dll_calibration(struct nxp_fspi *f)