Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

char: ipmi: kcs_bmc_phytium: Convert to platform remove callback retu… #35

Merged
merged 1 commit into from
Nov 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions drivers/char/ipmi/kcs_bmc_phytium.c
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ static int phytium_kcs_probe(struct platform_device *pdev)
return 0;
}

static int phytium_kcs_remove(struct platform_device *pdev)
static void phytium_kcs_remove(struct platform_device *pdev)
{
struct phytium_kcs_bmc *priv = platform_get_drvdata(pdev);
struct kcs_bmc_device *kcs_bmc = &priv->kcs_bmc;
Expand All @@ -413,7 +413,6 @@ static int phytium_kcs_remove(struct platform_device *pdev)
priv->obe.remove = true;
spin_unlock_irq(&priv->obe.lock);
del_timer_sync(&priv->obe.timer);
return 0;
}

static const struct of_device_id phytium_kcs_bmc_match[] = {
Expand Down
Loading