Re: [PATCH 1/12] pci: separate pci_setup_bridge to small functions

From: Linus Torvalds
Date: Fri Dec 18 2009 - 16:16:20 EST




On Fri, 18 Dec 2009, Yinghai Lu wrote:
>
> prepare to use those small functions according to resource type later
>
> Signed-off-by: Yinghai Lu <yinghai@xxxxxxxxxx>

Ack. looks like a nice cleanup regardless of anything else. I much prefer
having lots of small functions that do one thing and one thing only, and
then one function that is there just to call them.

Linus
--
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/