mirror of
https://github.com/torvalds/linux.git
synced 2026-05-22 14:12:07 +02:00
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:
parent
93be516f81
commit
e0558eb74c
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user