resources: add a default alignf to simplify find_resource()
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Tue, 26 Oct 2010 21:41:13 +0000 (15:41 -0600)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 26 Oct 2010 22:33:22 +0000 (15:33 -0700)
commita9cea017411c95ec789092971f9baaef1f826883
treec26c60f9c4b4e73eccd9ce6597daa250270691e6
parent1ca98fa652bb5dc3c8793335db9ccc5d0f2e1f65
resources: add a default alignf to simplify find_resource()

This removes a test from find_resource(), which is getting cluttered.
No functional change.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
kernel/resource.c