Unverified Commit e0558eb7 authored by Haibo Chen's avatar Haibo Chen Committed by Mark Brown
Browse files

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: default avatarHaibo Chen <haibo.chen@nxp.com>
Link: https://patch.msgid.link/20250428-flexspipatch-v3-4-61d5e8f591bc@nxp.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 93be516f
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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)