]> git.baikalelectronics.ru Git - kernel.git/commit
maple: more robust device detection.
authorAdrian McMenamin <adrian@newgolddream.dyndns.info>
Wed, 6 Feb 2008 23:51:21 +0000 (23:51 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 14 Feb 2008 05:22:07 +0000 (14:22 +0900)
commitf9e5abf66008b826b680c9ec913b132db96cb6b4
tree5cd739142e1a293f4d38642202591609d6c0a3d3
parent222e90daaf00f88fc27afd222a3ac998944c29d9
maple: more robust device detection.

Replacement second-in-series patch:

This patch fixes up memory leaks and, by delaying initialisation, makes
device detection more robust.

It also makes clearer the difference between struct maple_device and
struct device, as well as cleaning up the interrupt request code
(without changing its function in any way).

Also now removes redundant registration checking.

Signed-off-by: Adrian McMenamin <adrian@mcmen.demon.co.uk>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/sh/maple/maple.c