aboutsummaryrefslogtreecommitdiff
path: root/Documentation/i2c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2008-10-14 17:30:04 +0200
committerJean Delvare <khali@mahadeva.delvare>2008-10-14 17:30:04 +0200
commit9def255631bb742264d334d77819e1ae5278a515 (patch)
treeef319955bb0b1acded8c0b957914bd72f810ee1e /Documentation/i2c
parent67a37308ae37f8948d3c26f75a18f0ddb77ac198 (diff)
i2c-parport-light: Don't register a platform device resource
The i2c-parport-light driver isn't a real platform driver, so it should not instantiate platform devices with resources. The resource management system can't cope with colliding resources, and we are likely to create such a colliding resource. So, better just try to grab the I/O ports we need right at module initialization time, and bail out if we can't. It has the added benefit that the module will no longer load if it isn't going to work, which is definitely more user-friendly. Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'Documentation/i2c')
0 files changed, 0 insertions, 0 deletions