From: Alexander Clouter Date: Wed, 3 Jun 2009 09:28:03 +0000 (+1000) Subject: hwrng: timeriomem - Fix potential oops (request_mem_region/__devinit) X-Git-Tag: v2.6.31-rc1~352^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08ced854fc4a979d9e59ba01000bf96e7057cfbc;p=pandora-kernel.git hwrng: timeriomem - Fix potential oops (request_mem_region/__devinit) Fixed oops when calling device_unregister followed by device_register (changing __init to __devinit) and removed request_mem_region() as platform_device_register already does this which can result in EBUSY Signed-off-by: Alexander Clouter Signed-off-by: Herbert Xu --- Reading git-diff-tree failed