From 501def0b886ce60336984a40fc7c47f360d8f9eb Mon Sep 17 00:00:00 2001 From: Ksawlii Date: Sun, 24 Nov 2024 00:23:26 +0100 Subject: [PATCH] Revert "fbdev: hpfb: Fix an error handling path in hpfb_dio_probe()" This reverts commit 44253057c40f610ef3bff9928ffdf30ec721d137. --- drivers/video/fbdev/hpfb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/fbdev/hpfb.c b/drivers/video/fbdev/hpfb.c index 1e9c52e27..8d418abdd 100755 --- a/drivers/video/fbdev/hpfb.c +++ b/drivers/video/fbdev/hpfb.c @@ -344,7 +344,6 @@ static int hpfb_dio_probe(struct dio_dev *d, const struct dio_device_id *ent) if (hpfb_init_one(paddr, vaddr)) { if (d->scode >= DIOII_SCBASE) iounmap((void *)vaddr); - release_mem_region(d->resource.start, resource_size(&d->resource)); return -ENOMEM; } return 0;