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: NBjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
Showing
想要评论请 注册 或 登录