Messages in this thread | | | Date | Tue, 20 Nov 2007 15:14:04 +0000 | From | Alan Cox <> | Subject | Re: [PATCH 2/3] PNP cleanups - Unify the pnp macros to access resources in the pnp resource table |
| |
> At the end is some example code how things could get even more cleaned > up. It shows how I think pnp layer and one example driver would get
Your example adds rather than removes code.
> If this is not an option, please advise how to move on here: > Still use struct resources for dma and irq, but just do not name it > _start, but name the macro pnp_irq_no?
Is it actually even worth changing in the first place ? You seem to be complicating the code not simplyifying it, and at the end of the day ISAPnP is obsolete and BIOS PnP is obsoleted by ACPI
Alan - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |