commit | 5d6b1fa301b13cc651ee717a9b518124dea2f814 | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | Tue Oct 26 15:41:18 2010 -0600 |
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | Tue Oct 26 15:33:24 2010 -0700 |
tree | 53958650b23a85cbd1b58ebd9346fe62603c3a0d | |
parent | a9cea017411c95ec789092971f9baaef1f826883 [diff] |
resources: factor out resource_clip() to simplify find_resource() This factors out the min/max clipping to simplify find_resource(). No functional change. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>