Skip to content

Commit

Permalink
DS1000 platform driver bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
praveen-ramamoorthi committed Jun 26, 2024
1 parent 6b50843 commit d4a82d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ static int cpld_wdt_remove(struct platform_device *pdev)
{
struct cpld_wdt_private *p = platform_get_drvdata(pdev);

if (!p) {
if (p) {
sysfs_remove_group(&pdev->dev.kobj, &wdt_group);
misc_deregister(&p->mdev);
unregister_reboot_notifier(&watchdog_notifier);
Expand Down

0 comments on commit d4a82d0

Please sign in to comment.