lkml.org 
[lkml]   [2009]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/12] pci: separate pci_setup_bridge to small functions


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@kernel.org>

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


\
 
 \ /
  Last update: 2009-12-18 22:19    [W:0.022 / U:3.988 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site