Re: [PATCH] ACPI: fix fan module removal when ACPI_PROCFS is disabled

From: Len Brown
Date: Tue Apr 27 2010 - 13:13:22 EST


> When ACPI_PROCFS is disabled, /proc/acpi/fan/ directory is not created.
> So, it should not be removed during the module removal either.

Yes, this patch would make the #ifdefs consistent.
But it looks like remove_proc_entry() just silently does nothing
if the directory is not there, yes?

What I'd really like to see is a patch removing fan.c's proc code
completely. It was scheduld for removal in July 2008.

thanks,
Len Brown, Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/