summaryrefslogtreecommitdiff
path: root/drivers/base/platform.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2008-10-15 22:05:14 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-16 11:21:51 -0700
commitc26ec88ea86ad5122a6ea5ad635e6a1f6c395d74 (patch)
tree8e7e95851dc24327fbdb05c90b2eb0b40f60cadc /drivers/base/platform.c
parent923f7f6970bd448b8e88b9e4be10fd01fc7106a4 (diff)
downloadlwn-c26ec88ea86ad5122a6ea5ad635e6a1f6c395d74.tar.gz
lwn-c26ec88ea86ad5122a6ea5ad635e6a1f6c395d74.zip
resources: tidy __request_region()
No functional change. Just return NULL for kzalloc failure immediately, rather than wrapping the whole function body in the body of an "if". Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/base/platform.c')
0 files changed, 0 insertions, 0 deletions